aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorRob Herring <[email protected]>2022-02-23 16:52:57 -0600
committerGreg Kroah-Hartman <[email protected]>2022-03-18 14:27:26 +0100
commit4b775aaf1ea9997f5eb1a792f357a7b81a1fc632 (patch)
treec4e4d79c12e56796106708de7fa623968142377f /net/switchdev/switchdev.c
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions