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

sysfs: fix drivers/base so if an attribute doesn't 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/base/bus.c
drivers/base/class.c
drivers/base/core.c
drivers/base/sys.c