summary refs log tree commit diff
path: root/drivers/isdn
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2021-03-23 16:37:13 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-04-05 13:17:01 +0200
commit72a91f192da032b68519fafaecce03fd002d669a (patch)
treec06090f5a8f0f2f6488f6ca8770bcb0cb64a7bb0 /drivers/isdn
parentd46f3e3ed5276e756caf40f760d4902d15c12dcb (diff)
downloadlinux-72a91f192da032b68519fafaecce03fd002d669a.tar.gz
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 'drivers/isdn')
0 files changed, 0 insertions, 0 deletions