On Mon, Apr 25, 2022 at 9:17 PM Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> wrote: > This function (up to now) returns zero unconditionally, so there isn't > any benefit of returning a value. Make it return void to be able to see > at a glance that the return value of mpu3050_i2c_remove is always zero. > > This patch is a preparation for making i2c remove callbacks return void. > > Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> Makes sense. Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx> Yours, Linus Walleij