[PATCH] sysfs: (driver/pci) if show/store is missing return -EIO
commitfc7e4828995d8c9e4c9597f8a19179e4ab53f73e
authorDmitry Torokhov <dtor_core@ameritech.net>
Fri, 29 Apr 2005 06:26:27 +0000 (29 01:26 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Jun 2005 22:15:02 +0000 (20 15:15 -0700)
tree0ca83b71052eb241acc64d0152bff21188944b9c
parent4a0c20bf8c0fe2116f8fd7d3da6122bf8a01f026
[PATCH] sysfs: (driver/pci) if show/store is missing return -EIO

sysfs: fix drivers/pci so if an attribute does not implement
       show or store method read/write will return -EIO
       instead of 0.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/hotplug/pci_hotplug_core.c
drivers/pci/hotplug/rpadlpar_sysfs.c
drivers/pci/pci-driver.c