]> git.baikalelectronics.ru Git - kernel.git/commitdiff
Merge branch 'net-dsa-remove-unnecessary-i2c_set_clientdata'
authorJakub Kicinski <kuba@kernel.org>
Tue, 27 Sep 2022 00:44:31 +0000 (17:44 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 27 Sep 2022 00:44:31 +0000 (17:44 -0700)
Yang Yingliang says:

====================
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/.
====================

Link: https://lore.kernel.org/r/20220923143742.87093-1-yangyingliang@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge