]> git.baikalelectronics.ru Git - kernel.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)
commit4945f0a6bb26d83695f70ab74739424328a5d081
treebc263e3f8c276a82bf48c490b597ca956bb4853b
parent838cab68f9ab9c4cf8a6dc0c9b800c5b23a9f525
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