]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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)
commit625e1d59a89f50bace376f429d8cf50347af75f7
tree97c75014668c80a17a3133e2db7dd91b1c5ba004
parent4e15c46bdc4d5ea0e7991a05edbd807328d38a2c
PCI: Use is_visible() with boot_vga attribute for pci_dev

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>
drivers/pci/pci-sysfs.c