summaryrefslogtreecommitdiff
path: root/drivers/vhost
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2022-02-23 16:52:57 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-03-18 14:27:26 +0100
commit4b775aaf1ea9997f5eb1a792f357a7b81a1fc632 (patch)
treec4e4d79c12e56796106708de7fa623968142377f /drivers/vhost
parent9ad307213fa4081f4bc2f2daa31d4f2d35d7a213 (diff)
driver core: Refactor sysfs and drv/bus remove hooks
There are 3 copies of the same device sysfs cleanup and drv/bus remove() hooks used for probe failure, testing re-probing, and device unbinding. Let's refactor the code to its own function. Signed-off-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20220223225257.1681968-3-robh@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/vhost')
0 files changed, 0 insertions, 0 deletions