summaryrefslogtreecommitdiff
path: root/drivers/base/dd.c
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2008-12-05 14:10:31 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-06 10:44:33 -0800
commitec0676ee28528dc8dda13a93ee4b1f215a0c2f9d (patch)
treec647b85236a717e83014d74a1890b4f4c76de0c8 /drivers/base/dd.c
parentd0d85ff989222f08dd1fa66321fef5567bbc4a7b (diff)
Driver core: move the bus notifier call points
This patch (as1184) changes the location of the notifications in device_add() and device_del(). Now the BUS_NOTIFY_ADD_DEVICE message is sent after dpm_sysfs_add(), which is necessary for clients that want to add attributes to the power/ subdirectory. The BUS_NOTIFY_DEL_DEVICE message is correspondingly moved before dpm_sysfs_remove(). Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/base/dd.c')
0 files changed, 0 insertions, 0 deletions