Driver core: keep PHYSDEV for old struct class_device
authorKay Sievers <kay.sievers@vrfy.org>
Tue, 1 May 2007 11:46:26 +0000 (13:46 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 8 Jun 2007 19:41:07 +0000 (12:41 -0700)
commit2c7afd125cc482dbdf6b0a169c42337e7e76cda5
treed20f31d12e09e5a1305d9c274047589cf156181d
parentadfdebceaca988515ecdb557d600fd5ab9da913a
Driver core: keep PHYSDEV for old struct class_device

Class-devices created by "struct class_device" are going to be replaced
by "struct device". Keep the deprecated PHYSDEV* variables for the already
"deprecated" struct class_device" devices.

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