Explorar el Código

mips: ralink: 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 hace 10 años
padre
commit
59613d88e7
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0 1
      arch/mips/ralink/timer.c

+ 0 - 1
arch/mips/ralink/timer.c

@@ -173,7 +173,6 @@ static struct platform_driver rt_timer_driver = {
 	.remove = rt_timer_remove,
 	.remove = rt_timer_remove,
 	.driver = {
 	.driver = {
 		.name		= "rt-timer",
 		.name		= "rt-timer",
-		.owner          = THIS_MODULE,
 		.of_match_table	= rt_timer_match
 		.of_match_table	= rt_timer_match
 	},
 	},
 };
 };