Browse Source

net: dsa: drop owner assignment from platform_drivers

A platform_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Wolfram Sang 10 năm trước cách đây
mục cha
commit
0dd1153813
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      net/dsa/dsa.c

+ 0 - 1
net/dsa/dsa.c

@@ -744,7 +744,6 @@ static struct platform_driver dsa_driver = {
 	.shutdown	= dsa_shutdown,
 	.driver = {
 		.name	= "dsa",
-		.owner	= THIS_MODULE,
 		.of_match_table = dsa_of_match_table,
 		.pm	= &dsa_pm_ops,
 	},