Re: [PATCH] i2c: cgbc: Convert to use struct platform_driver::remove()

From: Andi Shyti
Date: Tue Nov 19 2024 - 17:40:49 EST


Hi Uwe,

On Wed, Oct 16, 2024 at 11:13:21AM +0200, Uwe Kleine-König wrote:
> After commit 0edb555a65d1 ("platform: Make platform_driver::remove()
> return void") .remove_new isn't supposed to be used any more. To be able
> to eventually drop .remove_new, switch the driver to use .remove which
> has the same functionality.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxx>
> ---
> Hello,
>
> the driver was introduced in commit
> 6894f640b8f3f48700ccc828419ba60704f5a405 which happens after I sent the
> patch that became e6be2197ec38 ("i2c: Switch back to struct
> platform_driver::remove()") that converted all of drivers/i2c. So here
> comes a separate patch for this driver.
>
> Best regards
> Uwe
>
> drivers/i2c/busses/i2c-cgbc.c | 2 +-

This driver has not been merged yet.

Andi