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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to