mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-28 17:41:50 +00:00
net: dsa: b53: remove .owner and .bus fields for driver
Remove .owner and .bus fields since module_spi_driver() is used which set them automatically. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
b22ae0b4d9
commit
cfad65c7fa
1 changed files with 0 additions and 2 deletions
|
@ -317,8 +317,6 @@ static int b53_spi_remove(struct spi_device *spi)
|
||||||
static struct spi_driver b53_spi_driver = {
|
static struct spi_driver b53_spi_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "b53-switch",
|
.name = "b53-switch",
|
||||||
.bus = &spi_bus_type,
|
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
.probe = b53_spi_probe,
|
.probe = b53_spi_probe,
|
||||||
.remove = b53_spi_remove,
|
.remove = b53_spi_remove,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue