]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitebb410a03e4724af5638dd7164ead5fadff26283
tree655207cffb1576b9e34b54c947ff35bc1b76da6b
parentb860a1b964be7917ed3dcaa674ec0a2ba0a62aa0
parent6387bf7c390a17a03f05a70099e135f61c7cb437
Merge branch 'net-dsa-remove-unnecessary-i2c_set_clientdata'

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>