On Mon, May 2, 2022 at 7:08 PM Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> wrote: > > The only user of max732x_platform_data is arch/arm/mach-pxa/littleton.c > and it only uses .gpio_base. So drop the other members from the data struct > and simplify the driver accordingly. > > The motivating side effect of this change is that the .remove() callback > cannot return a nonzero error code any more which prepares making i2c > remove callbacks return void. > > Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> > --- Nice one! Applied, thanks! Bart