Home
last modified time | relevance | path

Searched hist:d04d46dd82ad10bdc3c9ce6a513e1fa1336719c4 (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/iio/magnetometer/
H A Dbmc150_magn.hdiff d04d46dd82ad10bdc3c9ce6a513e1fa1336719c4 Sat May 14 15:32:50 CEST 2022 Uwe Kleine-König <u.kleine-koenig@pengutronix.de> iio:magnetometer:mbc150: Make bmc150_magn_remove() return void

bmc150_magn_remove() always returns zero. Make it return no value which
makes it easier to see in the callers that there is no error to handle.

Also the return value of i2c driver remove callbacks is ignored anyway.
This prepares making i2c remove callbacks return void, too.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20220514133250.307955-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
H A Dbmc150_magn_i2c.cdiff d04d46dd82ad10bdc3c9ce6a513e1fa1336719c4 Sat May 14 15:32:50 CEST 2022 Uwe Kleine-König <u.kleine-koenig@pengutronix.de> iio:magnetometer:mbc150: Make bmc150_magn_remove() return void

bmc150_magn_remove() always returns zero. Make it return no value which
makes it easier to see in the callers that there is no error to handle.

Also the return value of i2c driver remove callbacks is ignored anyway.
This prepares making i2c remove callbacks return void, too.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20220514133250.307955-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
H A Dbmc150_magn.cdiff d04d46dd82ad10bdc3c9ce6a513e1fa1336719c4 Sat May 14 15:32:50 CEST 2022 Uwe Kleine-König <u.kleine-koenig@pengutronix.de> iio:magnetometer:mbc150: Make bmc150_magn_remove() return void

bmc150_magn_remove() always returns zero. Make it return no value which
makes it easier to see in the callers that there is no error to handle.

Also the return value of i2c driver remove callbacks is ignored anyway.
This prepares making i2c remove callbacks return void, too.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20220514133250.307955-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>