tty: serial: Drop owner assignment from platform_driver
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Fri, 10 Jul 2015 06:36:19 +0000 (15:36 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Jul 2015 01:04:59 +0000 (18:04 -0700)
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>
drivers/tty/serial/8250/8250_ingenic.c

index 21bf81fe794fae82026c52552d11442b3d7153e2..7c1e4be48e7b3b96b975b29ba4d2053083bd9700 100644 (file)
@@ -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,