summaryrefslogtreecommitdiffstats
path: root/drivers/iio/accel/kxsd9-i2c.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2021-10-13 22:32:11 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-10-19 09:30:45 +0200
commitbcf9d61a2dcb05d1de46ead784c333043ef2e7f2 (patch)
tree212dab47c98df686162619094944da6838dc999c /drivers/iio/accel/kxsd9-i2c.c
parentiio: accel: bmc150: Make bmc150_accel_core_remove() return void (diff)
downloadlinux-bcf9d61a2dcb05d1de46ead784c333043ef2e7f2.tar.xz
linux-bcf9d61a2dcb05d1de46ead784c333043ef2e7f2.zip
iio: accel: bmi088: Make bmi088_accel_core_remove() return void
Up to now bmi088_accel_core_remove() returns zero unconditionally. Make it return void instead which makes it easier to see in the callers that there is no error to handle. Also the return value of spi remove callbacks is ignored anyway. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Reviewed-by: Alexandru Ardelean <ardeleanalex@gmail.com> Link: https://lore.kernel.org/r/20211013203223.2694577-4-u.kleine-koenig@pengutronix.de Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/accel/kxsd9-i2c.c')
0 files changed, 0 insertions, 0 deletions