[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1362622966-20003-1-git-send-email-weiyang@linux.vnet.ibm.com>
Date: Thu, 7 Mar 2013 10:22:44 +0800
From: Wei Yang <weiyang@...ux.vnet.ibm.com>
To: linux-kernel@...r.kernel.org, gregkh@...uxfoundation.org,
joe@...ches.com
Cc: shangw@...ux.vnet.ibm.com, linuxram@...ibm.com,
Wei Yang <weiyang@...ux.vnet.ibm.com>
Subject: [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(-)
--
1.7.5.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists