diff options
author | Andi Kleen <andi@firstfloor.org> | 2008-10-13 12:03:03 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-10-29 15:03:49 -0700 |
commit | 4e318d7c6c9dd5cdae48bcf61558bbc0c09b12ac (patch) | |
tree | 07d2c2b0e559cb121292eea21f1e63245deaa8c5 /drivers/regulator | |
parent | 65151365ad59af00e229d0fe33b4f1f9350c685f (diff) | |
download | blackbird-op-linux-4e318d7c6c9dd5cdae48bcf61558bbc0c09b12ac.tar.gz blackbird-op-linux-4e318d7c6c9dd5cdae48bcf61558bbc0c09b12ac.zip |
sysfs: Fix return values for sysdev_store_{ulong,int}
SYSFS: Fix return values for sysdev_store_{ulong,int}
Always return the full size instead of the consumed
length of the string in sysdev_store_{ulong,int}
This avoids EINVAL errors in some echo versions.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/regulator')
0 files changed, 0 insertions, 0 deletions