Explorar el Código

tty: serial: Drop owner assignment from platform_driver

platform_driver does not need to set an owner because
platform_driver_register() will set it.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Krzysztof Kozlowski hace 10 años
padre
commit
3bb2ccd0d1
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0 1
      drivers/tty/serial/8250/8250_ingenic.c

+ 0 - 1
drivers/tty/serial/8250/8250_ingenic.c

@@ -252,7 +252,6 @@ MODULE_DEVICE_TABLE(of, of_match);
 static struct platform_driver ingenic_uart_platform_driver = {
 	.driver = {
 		.name		= "ingenic-uart",
-		.owner		= THIS_MODULE,
 		.of_match_table	= of_match,
 	},
 	.probe			= ingenic_uart_probe,