mbox series

[net-next,0/3] net: dsa: remove unnecessary i2c_set_clientdata()

Message ID 20220923143742.87093-1-yangyingliang@huawei.com (mailing list archive)
Headers show
Series net: dsa: remove unnecessary i2c_set_clientdata() | expand

Message

Yang Yingliang Sept. 23, 2022, 2:37 p.m. UTC
This patchset https://lore.kernel.org/all/20220921140524.3831101-8-yangyingliang@huawei.com/T/
removed all set_drvdata(NULL) in driver remove function.

i2c_set_clientdata() is another wrapper of set drvdata function, to follow
the same convention, remove i2c_set_clientdata() called in driver remove
function in drivers/net/dsa/.

Yang Yingliang (3):
  net: dsa: lan9303: remove unnecessary i2c_set_clientdata()
  net: dsa: microchip: ksz9477: remove unnecessary i2c_set_clientdata()
  net: dsa: xrs700x: remove unnecessary i2c_set_clientdata()

 drivers/net/dsa/lan9303_i2c.c           | 2 --
 drivers/net/dsa/microchip/ksz9477_i2c.c | 2 --
 drivers/net/dsa/xrs700x/xrs700x_i2c.c   | 2 --
 3 files changed, 6 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Sept. 27, 2022, 12:50 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Fri, 23 Sep 2022 22:37:39 +0800 you wrote:
> This patchset https://lore.kernel.org/all/20220921140524.3831101-8-yangyingliang@huawei.com/T/
> removed all set_drvdata(NULL) in driver remove function.
> 
> i2c_set_clientdata() is another wrapper of set drvdata function, to follow
> the same convention, remove i2c_set_clientdata() called in driver remove
> function in drivers/net/dsa/.
> 
> [...]

Here is the summary with links:
  - [net-next,1/3] net: dsa: lan9303: remove unnecessary i2c_set_clientdata()
    https://git.kernel.org/netdev/net-next/c/db5d451c4640
  - [net-next,2/3] net: dsa: microchip: ksz9477: remove unnecessary i2c_set_clientdata()
    https://git.kernel.org/netdev/net-next/c/008971adb95d
  - [net-next,3/3] net: dsa: xrs700x: remove unnecessary i2c_set_clientdata()
    https://git.kernel.org/netdev/net-next/c/6387bf7c390a

You are awesome, thank you!