public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Some cleanup in driver core
@ 2013-03-07  2:22 Wei Yang
  2013-03-07  2:22 ` [PATCH 1/2] driver core: remove device_add_attrs() in drivers/base/bus.c Wei Yang
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Wei Yang @ 2013-03-07  2:22 UTC (permalink / raw)
  To: linux-kernel, gregkh, joe; +Cc: shangw, linuxram, Wei Yang

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-03-19  2:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-07  2:22 [PATCH 0/2] Some cleanup in driver core Wei Yang
2013-03-07  2:22 ` [PATCH 1/2] driver core: remove device_add_attrs() in drivers/base/bus.c Wei Yang
2013-03-19  0:18   ` Greg KH
2013-03-19  2:08     ` Wei Yang
2013-03-07  2:22 ` [PATCH 2/2] driver-core: remove the duplicate assignment of kobj->parent in device_add Wei Yang
2013-03-07 11:33   ` Bjørn Mork
     [not found]     ` <20130307135032.GA6100@richard.(null)>
2013-03-07 14:49       ` Bjørn Mork
2013-03-19  0:17 ` [PATCH 0/2] Some cleanup in driver core Greg KH
2013-03-19  2:11   ` Wei Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox