[PATCH v2 0/2] Couple of cleanups in really_probe()

Lu Baolu posted 2 patches 4 years, 6 months ago
drivers/base/dd.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
[PATCH v2 0/2] Couple of cleanups in really_probe()
Posted by Lu Baolu 4 years, 6 months ago
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@linux.intel.com/

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