[PATCH 0/2] Some cleanup in driver core

Wei Yang
2013-03-07T02:23:28Z

These two patches do some cleanup in the driver core.

They are tested on:
Hardware: Lenovo T420
Kernel Version: 3.8
Result:
* /sys/devices/pci0000:00/ directory is correct
* /sys/devices/pci0000:00/0000:00:19.0/ contains the sysfs files for a pci
device

Wei Yang (2):
driver core: remove device_add_attrs() in drivers/base/bus.c
driver-core: remove the duplicate assignment of kobj->parent in
device_add

drivers/base/bus.c | 21 +--------------------
drivers/base/core.c | 6 ++----
include/linux/device.h | 2 ++
3 files changed, 5 insertions(+), 24 deletions(-)

--
1.7.5.4