[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220923143742.87093-1-yangyingliang@huawei.com>
Date: Fri, 23 Sep 2022 22:37:39 +0800
From: Yang Yingliang <yangyingliang@...wei.com>
To: <netdev@...r.kernel.org>
CC: <andrew@...n.ch>, <vivien.didelot@...il.com>,
<f.fainelli@...il.com>, <olteanv@...il.com>,
<woojung.huh@...rochip.com>, <Arun.Ramadoss@...rochip.com>,
<george.mccollister@...il.com>, <davem@...emloft.net>,
<kuba@...nel.org>
Subject: [PATCH net-next 0/3] net: dsa: remove unnecessary i2c_set_clientdata()
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(-)
--
2.25.1
Powered by blists - more mailing lists