summaryrefslogtreecommitdiffstats
path: root/drivers/iio/gyro
diff options
context:
space:
mode:
authorEnric Balletbo i Serra <enric.balletbo@collabora.com>2017-03-24 18:44:02 +0100
committerJonathan Cameron <jic23@kernel.org>2017-03-25 16:06:14 +0100
commita096926ed4532eac38d4ec92aaba8c7f2149d89a (patch)
tree5a35941fdc3e0620d8b6d021f732f3b214a0ee8f /drivers/iio/gyro
parentMerge tag 'iio-fixes-for-4.11c' of git://git.kernel.org/pub/scm/linux/kernel/... (diff)
downloadlinux-a096926ed4532eac38d4ec92aaba8c7f2149d89a.tar.xz
linux-a096926ed4532eac38d4ec92aaba8c7f2149d89a.zip
iio: cros_ec_sensors: Fix return value to get raw and calibbias data.
The cros_ec_sensors_read function must return the type of value on all cases. This was always true except for RAW and CALIBBIAS data which returned an error or 0. This patch just fixes the mistake I introduced when submitting the series. Fixes: commit c14dca07a31d (iio: cros_ec_sensors: add ChromeOS EC Contiguous Sensors driver) Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/gyro')
0 files changed, 0 insertions, 0 deletions