summaryrefslogtreecommitdiff
path: root/drivers/iio/potentiometer
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2021-10-13 23:32:21 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-10-19 10:30:45 +0300
commit4b6fb9f3e98ca157ae09803731c7bd6d90519a6d (patch)
treea3a2c42abaf463d57d66e1e1dcac456280868394 /drivers/iio/potentiometer
parentc7143c49c6041da1739765055645337e082abeb4 (diff)
downloadlinux-4b6fb9f3e98ca157ae09803731c7bd6d90519a6d.tar.xz
iio: magn: hmc5843: Make hmc5843_common_remove() return void
Up to now hmc5843_common_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 i2c and 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-14-u.kleine-koenig@pengutronix.de Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/potentiometer')
0 files changed, 0 insertions, 0 deletions