Skip to content

Some cleanup in driver core

Wei Yang lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2driver core: remove device_add_attrs() in drivers/base/bus.cdrivers/base/bus.c drivers/base/core.c include/linux/device.h+4 -212 replies
2/2driver-core: remove the duplicate assignment of kobj->parent in device_adddrivers/base/core.c+1 -32 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchGavin ShanRam Pai
1/2R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Some cleanup in driver core

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(-)
Signature · 1 line
1.7.5.4