[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20230427165913.GD620451@google.com>
Date: Thu, 27 Apr 2023 17:59:13 +0100
From: Lee Jones <lee@...nel.org>
To: Guiting Shen <aarongt.shen@...il.com>
Cc: linux-kernel@...r.kernel.org, patches@...nsource.cirrus.com,
Johan Hovold <johan@...nel.org>
Subject: Re: [PATCH v2 RESEND] mfd: remove redundant dev_set_drvdata() from
i2c drivers
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@...il.com>
> Reviewed-by: Johan Hovold <johan@...nel.org>
> ---
> 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 [李琼斯]
Powered by blists - more mailing lists