Explorar o código

reset: sti: 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 %!s(int64=10) %!d(string=hai) anos
pai
achega
d373860d70
Modificáronse 2 ficheiros con 0 adicións e 2 borrados
  1. 0 1
      drivers/reset/sti/reset-stih415.c
  2. 0 1
      drivers/reset/sti/reset-stih416.c

+ 0 - 1
drivers/reset/sti/reset-stih415.c

@@ -101,7 +101,6 @@ static struct platform_driver stih415_reset_driver = {
 	.probe = syscfg_reset_probe,
 	.driver = {
 		.name = "reset-stih415",
-		.owner = THIS_MODULE,
 		.of_match_table = stih415_reset_match,
 	},
 };

+ 0 - 1
drivers/reset/sti/reset-stih416.c

@@ -132,7 +132,6 @@ static struct platform_driver stih416_reset_driver = {
 	.probe = syscfg_reset_probe,
 	.driver = {
 		.name = "reset-stih416",
-		.owner = THIS_MODULE,
 		.of_match_table = stih416_reset_match,
 	},
 };