]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
PCI: centralize the capabilities code in pci-sysfs.c
authorZhao, Yu <yu.zhao@intel.com>
Mon, 13 Oct 2008 12:01:00 +0000 (20:01 +0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 20 Oct 2008 17:54:31 +0000 (10:54 -0700)
commit280c73d3691fb182fa55b0160737c2c0feb79471
treebc263e3f8c276a82bf48c490b597ca956bb4853b
parente354597cce8d219d135d65e585dc4f30323486b9
PCI: centralize the capabilities code in pci-sysfs.c

This patch centralizes functions used to add and remove sysfs entries
for various capabilities. With this cleanup, the code is more readable
and easier for adding new capability related functions.

Signed-off-by: Yu Zhao <yu.zhao@intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pci-sysfs.c