Re: [PATCH v2 RESEND] mfd: remove redundant dev_set_drvdata() from i2c drivers

From: Lee Jones
Date: Thu Apr 27 2023 - 12:59:35 EST


On Tue, 25 Apr 2023, Guiting Shen wrote:

> the i2c_set_clientdata() is the inline function which is complemented by
> the dev_set_drvdata() internally. Do not need to use i2c_set_clientdata()
> and dev_set_drvdata() at the same time.
>
> Signed-off-by: Guiting Shen <aarongt.shen@xxxxxxxxx>
> Reviewed-by: Johan Hovold <johan@xxxxxxxxxx>
> ---
> drivers/mfd/88pm80x.c | 1 -
> drivers/mfd/88pm860x-core.c | 1 -
> drivers/mfd/aat2870-core.c | 2 --
> drivers/mfd/lm3533-core.c | 2 --
> drivers/mfd/max8907.c | 2 --
> drivers/mfd/max8925-i2c.c | 1 -
> drivers/mfd/wm8400-core.c | 2 --
> drivers/mfd/wm8994-core.c | 2 --
> 8 files changed, 13 deletions(-)

Applied, thanks

--
Lee Jones [李琼斯]