driver core: add test of driver remove calls during probe
authorRob Herring <robh@kernel.org>
Thu, 11 Aug 2016 15:20:58 +0000 (10:20 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Aug 2016 13:13:55 +0000 (15:13 +0200)
commitbea5b158ff0da9c7246ff391f754f5f38e34577a
tree0e8ea972b4548c148751a5db6b7ca4f2608e3d77
parentcebf8fd16900fdfd58c0028617944f808f97fe50
driver core: add test of driver remove calls during probe

In recent discussions on ksummit-discuss[1], it was suggested to do a
sequence of probe, remove, probe for testing driver remove paths. This
adds a kconfig option for said test.

[1] https://lists.linuxfoundation.org/pipermail/ksummit-discuss/2016-August/003459.html

Suggested-by: Arnd Bergmann <arnd@arndb.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/Kconfig
drivers/base/dd.c