]> git.karo-electronics.de Git - linux-beck.git/commitdiff
pps: clients: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:28 +0000 (16:21 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:28 +0000 (16:21 +0200)
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>
drivers/pps/clients/pps-gpio.c

index f41bacfdc3dc39de70ff713b32f8b82b8cb7e6ff..333ad7d5b45bf34c76ce4c7a0a8e4e703e83d3f0 100644 (file)
@@ -200,7 +200,6 @@ static struct platform_driver pps_gpio_driver = {
        .remove         = pps_gpio_remove,
        .driver         = {
                .name   = PPS_GPIO_NAME,
-               .owner  = THIS_MODULE,
                .of_match_table = pps_gpio_dt_ids,
        },
 };