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

index 8fa4758517c00fbb1e45703fb3d04098175b5982..c71ed64931ba94e6210b332181cefe3f7a0fe628 100644 (file)
@@ -157,7 +157,6 @@ static struct platform_driver timed_gpio_driver = {
        .remove         = timed_gpio_remove,
        .driver         = {
                .name           = TIMED_GPIO_NAME,
-               .owner          = THIS_MODULE,
        },
 };