Driver core: add uevent vars for devices of a class
authorKay Sievers <kay.sievers@novell.com>
Sat, 7 Oct 2006 19:54:55 +0000 (21:54 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 7 Feb 2007 18:37:13 +0000 (10:37 -0800)
commit239378f16aa1ab5c502e42a06359d2de4f88ebb4
tree5d9cee0ef7706f93c3bb07cd1b0295b578a6f0e1
parentbf0acc330229554c695e4f95e5aa2d2c4f12de1f
Driver core: add uevent vars for devices of a class

Devices converted from class_device to device should have
the same uevent keys as the original class_device had. We
search up the parents until we find the first bus device and
add the (already deprecated) PHYDEV* values.

Signed-off-by: Kay Sievers <kay.sievers@novell.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/core.c