summaryrefslogtreecommitdiff
path: root/drivers/iio/orientation
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2021-09-14 13:53:33 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-09-18 21:09:49 +0300
commit4170d3dd1467e9d78cb9af374b19357dc324b328 (patch)
tree000b789cbcb181bc941cc5d603ddc09d0937363b /drivers/iio/orientation
parent1a913270e57a8e7f1e3789802f1f64e6d0654626 (diff)
downloadlinux-4170d3dd1467e9d78cb9af374b19357dc324b328.tar.xz
iio: ssp_sensors: fix error code in ssp_print_mcu_debug()
The ssp_print_mcu_debug() function should return negative error codes on error. Returning "length" is meaningless. This change does not affect runtime because the callers only care about zero/non-zero. Reported-by: Jonathan Cameron <jic23@kernel.org> Fixes: 50dd64d57eee ("iio: common: ssp_sensors: Add sensorhub driver") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Link: https://lore.kernel.org/r/20210914105333.GA11657@kili Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/orientation')
0 files changed, 0 insertions, 0 deletions