diff options
| author | Lu Baolu <[email protected]> | 2021-12-31 11:39:00 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-01-06 15:47:41 +0100 |
| commit | 885e50253bfd6750327a265405461496d6af1639 (patch) | |
| tree | 39077d6c96bab42fb0c47b939d71c05b30660872 /tools/lib/api/fs/tracing_path.c | |
| parent | 3407d826c18d9aed3c51545cc26ff9a2fda65463 (diff) | |
driver core: Move driver_sysfs_remove() after driver_sysfs_add()
The driver_sysfs_remove() should be called after driver_sysfs_add() in
really_probe(). The out-of-order driver_sysfs_remove() tries to remove
some nonexistent nodes under the device and driver sysfs nodes. This is
allowed, hence this change doesn't fix any problem, just a cleanup.
Signed-off-by: Lu Baolu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/lib/api/fs/tracing_path.c')
0 files changed, 0 insertions, 0 deletions