Home
last modified time | relevance | path

Searched hist:"3 c15e00e7b58bc2b37e53d2612f0a0163281be77" (Results 1 – 5 of 5) sorted by relevance

/linux/include/linux/
H A Dsunxi-rsb.hdiff 3c15e00e7b58bc2b37e53d2612f0a0163281be77 Thu Nov 26 11:41:42 CET 2020 Uwe Kleine-König <u.kleine-koenig@pengutronix.de> mfd/bus: sunxi-rsb: Make .remove() callback return void

The driver core ignores the return value of struct device_driver::remove
because there is only little that can be done. To simplify the quest to
make this function return void, let struct sunxi_rsb_driver::remove
return void, too. All users already unconditionally return 0, this
commit makes this obvious and ensures future users don't behave
differently. To simplify even further, make axp20x_device_remove()
return void instead of returning 0 unconditionally, too.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
/linux/drivers/mfd/
H A Daxp20x-rsb.cdiff 3c15e00e7b58bc2b37e53d2612f0a0163281be77 Thu Nov 26 11:41:42 CET 2020 Uwe Kleine-König <u.kleine-koenig@pengutronix.de> mfd/bus: sunxi-rsb: Make .remove() callback return void

The driver core ignores the return value of struct device_driver::remove
because there is only little that can be done. To simplify the quest to
make this function return void, let struct sunxi_rsb_driver::remove
return void, too. All users already unconditionally return 0, this
commit makes this obvious and ensures future users don't behave
differently. To simplify even further, make axp20x_device_remove()
return void instead of returning 0 unconditionally, too.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
H A Daxp20x-i2c.cdiff 3c15e00e7b58bc2b37e53d2612f0a0163281be77 Thu Nov 26 11:41:42 CET 2020 Uwe Kleine-König <u.kleine-koenig@pengutronix.de> mfd/bus: sunxi-rsb: Make .remove() callback return void

The driver core ignores the return value of struct device_driver::remove
because there is only little that can be done. To simplify the quest to
make this function return void, let struct sunxi_rsb_driver::remove
return void, too. All users already unconditionally return 0, this
commit makes this obvious and ensures future users don't behave
differently. To simplify even further, make axp20x_device_remove()
return void instead of returning 0 unconditionally, too.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
/linux/drivers/bus/
H A Dsunxi-rsb.cdiff 3c15e00e7b58bc2b37e53d2612f0a0163281be77 Thu Nov 26 11:41:42 CET 2020 Uwe Kleine-König <u.kleine-koenig@pengutronix.de> mfd/bus: sunxi-rsb: Make .remove() callback return void

The driver core ignores the return value of struct device_driver::remove
because there is only little that can be done. To simplify the quest to
make this function return void, let struct sunxi_rsb_driver::remove
return void, too. All users already unconditionally return 0, this
commit makes this obvious and ensures future users don't behave
differently. To simplify even further, make axp20x_device_remove()
return void instead of returning 0 unconditionally, too.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
/linux/include/linux/mfd/
H A Daxp20x.hdiff 3c15e00e7b58bc2b37e53d2612f0a0163281be77 Thu Nov 26 11:41:42 CET 2020 Uwe Kleine-König <u.kleine-koenig@pengutronix.de> mfd/bus: sunxi-rsb: Make .remove() callback return void

The driver core ignores the return value of struct device_driver::remove
because there is only little that can be done. To simplify the quest to
make this function return void, let struct sunxi_rsb_driver::remove
return void, too. All users already unconditionally return 0, this
commit makes this obvious and ensures future users don't behave
differently. To simplify even further, make axp20x_device_remove()
return void instead of returning 0 unconditionally, too.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>