PCI: Convert "new_id"/"remove_id" into generic pci_bus driver attributes
authorKonstantin Khlebnikov <khlebnikov@openvz.org>
Wed, 8 Aug 2012 10:47:51 +0000 (14:47 +0400)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 17 Sep 2012 18:17:09 +0000 (12:17 -0600)
commitbfb09a86f5f60f9a83c676b53db8d9210549ee19
treef2a934fcfb6135989ee0cae4ad1bd122bd47fe31
parent55d512e245bc7699a8800e23df1a24195dd08217
PCI: Convert "new_id"/"remove_id" into generic pci_bus driver attributes

This patch removes hardcoded sysfs attributes manipulation and
converts them into generic pci_bus->drv_attrs. This saves several bytes.

Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci-driver.c