staging iio adt7410: sysfs store function must return length
authorSascha Hauer <s.hauer@pengutronix.de>
Tue, 3 Jul 2012 09:21:26 +0000 (11:21 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 8 Jul 2012 19:02:25 +0000 (20:02 +0100)
commit3a427d184f22e0ebfbed1eb82114ece8fb58bd95
treeff2b52af28006e68c2766e7a4047ab5bbfdc92d2
parent46b24311ccc8b37da9e6e006c6158229a5354268
staging iio adt7410: sysfs store function must return length

Otherwise a write to the resolution entry never returns.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/adc/adt7410.c