- device-core-remove-dpm_sysfs_remove-from-error-path-of-device_add.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Device core: Remove dpm_sysfs_remove() from error path of device_add()
has been removed from the -mm tree.  Its filename was
     device-core-remove-dpm_sysfs_remove-from-error-path-of-device_add.patch

This patch was dropped because it was merged into mainline or a subsystem tree

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: Device core: Remove dpm_sysfs_remove() from error path of device_add()
From: Rafael J. Wysocki <rjw@xxxxxxx>

Since device_pm_remove(dev) calls dpm_sysfs_remove(dev), it's incorrect to
call the latter after the former in the device_add() error path.

Signed-off-by: Rafael J. Wysocki <rjw@xxxxxxx>
Cc: Greg KH <greg@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/base/core.c |    1 -
 1 file changed, 1 deletion(-)

diff -puN drivers/base/core.c~device-core-remove-dpm_sysfs_remove-from-error-path-of-device_add drivers/base/core.c
--- a/drivers/base/core.c~device-core-remove-dpm_sysfs_remove-from-error-path-of-device_add
+++ a/drivers/base/core.c
@@ -845,7 +845,6 @@ int device_add(struct device *dev)
 	return error;
  BusError:
 	device_pm_remove(dev);
-	dpm_sysfs_remove(dev);
  PMError:
 	if (dev->bus)
 		blocking_notifier_call_chain(&dev->bus->p->bus_notifier,
_

Patches currently in -mm which might be from rjw@xxxxxxx are

origin.patch
git-acpi.patch
acpi-thinkpad-acpi-fix-hotkey_get_tablet_mode.patch
acpi-ec-fix-regression.patch
time-dont-touch-an-offlined-cpus-ts-tick_stopped-in-tick_cancel_sched_timer.patch
shrink_slab-handle-bad-shrinkers.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux