[PATCH v2 0/2] Couple of cleanups in really_probe()
From: Lu Baolu
Date: Thu Dec 30 2021 - 22:39:41 EST
Hi folks,
This series includes two cleanups in really_probe(). The purpose of
these cleanups are to make the sysfs add/remove and bus notification
events orderly when the driver can't bind to the device.
Best regards,
baolu
Change log:
v1: https://lore.kernel.org/all/20211229045159.1731943-1-baolu.lu@xxxxxxxxxxxxxxx/
v1->v2:
- Split a single patch into two.
- Remove the Fixes and Cc-stable tags as it doesn't fix any real
bugs in practice. No need to back port.
Lu Baolu (2):
driver core: Move driver_sysfs_remove() after driver_sysfs_add()
driver core: Make bus notifiers in right order in really_probe()
drivers/base/dd.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
--
2.25.1