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

From: Charles Keepax
Date: Tue Apr 25 2023 - 07:31:06 EST


On Tue, Apr 25, 2023 at 10:45:26AM +0800, 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>
> ---

Reviewed-by: Charles Keepax <ckeepax@xxxxxxxxxxxxxxxxxxxxx>

Thanks,
Charles