diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2021-03-23 16:37:13 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-04-05 13:17:01 +0200 |
commit | 72a91f192da032b68519fafaecce03fd002d669a (patch) | |
tree | c06090f5a8f0f2f6488f6ca8770bcb0cb64a7bb0 /lib/memregion.c | |
parent | d46f3e3ed5276e756caf40f760d4902d15c12dcb (diff) |
driver core: add helper for deferred probe reason setting
We now have three places within the same file doing the same operation
of freeing this pointer and setting it anew. A helper makes this
arguably easier to read, so add one.
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.kernel.org/r/20210323153714.25120-2-a.fatoum@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/memregion.c')
0 files changed, 0 insertions, 0 deletions