Re: [PATCH v1 1/2] ASoC: Drop empty i2c remove callbacks
From: Charles Keepax
Date: Fri May 15 2026 - 06:21:40 EST
On Wed, May 13, 2026 at 07:23:03PM +0200, Uwe Kleine-König (The Capable Hub) wrote:
> A remove callback that does nothing has the same semantic (apart from a
> debug output) as no such callback at all as i2c_device_remove() just does:
>
> if (driver->remove) {
> dev_dbg(dev, "remove\n");
>
> driver->remove(client);
> }
>
> Remove these useless callbacks.
>
> While touching the driver structs, unify indention.
>
> Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@xxxxxxxxxxxx>
> ---
Reviewed-by: Charles Keepax <ckeepax@xxxxxxxxxxxxxxxxxxxxx>
Thanks,
Charles