diff options
author | Dmitry Torokhov <dtor_core@ameritech.net> | 2005-04-29 01:22:00 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-06-20 15:15:02 -0700 |
commit | c76d0abd07a9c9cf72bbb5b641e1e97f92ea8f3e (patch) | |
tree | c5f3c752031dfb8b7c5a624d06b129661eec5665 /drivers/base/class.c | |
parent | d48593bf208e0d046c35fb0707ae5b23fef8c4ff (diff) | |
download | op-kernel-dev-c76d0abd07a9c9cf72bbb5b641e1e97f92ea8f3e.zip op-kernel-dev-c76d0abd07a9c9cf72bbb5b641e1e97f92ea8f3e.tar.gz |
[PATCH] sysfs: if show/store is missing return -EIO
sysfs: if attribute does not implement show or store method
read/write should return -EIO instead of 0 or -EINVAL.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/base/class.c')
0 files changed, 0 insertions, 0 deletions