PCI: Use is_visible() with boot_vga attribute for pci_dev
authorYinghai Lu <yinghai@kernel.org>
Mon, 5 Nov 2012 20:20:35 +0000 (15:20 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Sat, 10 Nov 2012 03:09:53 +0000 (20:09 -0700)
Should make pci_create_sysfs_dev_files() simpler.  Also fix possible
memleak in remove path.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>

No differences found