Searched hist:d04d46dd82ad10bdc3c9ce6a513e1fa1336719c4 (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/iio/magnetometer/ |
H A D | bmc150_magn.h | diff 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 D | bmc150_magn_i2c.c | diff 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 D | bmc150_magn.c | diff 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>
|