PCI: use proper call to driver_create_file
authorGreg Kroah-Hartman <gregkh@suse.de>
Wed, 28 Nov 2007 20:23:18 +0000 (12:23 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Jan 2008 04:40:33 +0000 (20:40 -0800)
commit03d43b19b9f56c1d18bc8f2f7890534fbe6a285d
tree28c0edad7b0443a8820ecd144944525f617bfe74
parent2344c6de6b6f2a4b07e4416aac9522d23e00d7bc
PCI: use proper call to driver_create_file

Don't try to call the "raw" sysfs_create_file when we already have a
helper function to do this kind of work for us.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/pci-driver.c