]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaa85926e06f2dfc66ec443bc67881b5ab6e817f3
tree0e8ea972b4548c148751a5db6b7ca4f2608e3d77
parent91e1e69ed1ef252874dfcd99cbba9c9955c13d4d
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