OSDN Git Service

powerpc: platforms: pasemi: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:12 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:12 +0000 (16:20 +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>
arch/powerpc/platforms/pasemi/gpio_mdio.c

index ada3335..ae3f47b 100644 (file)
@@ -305,7 +305,6 @@ static struct platform_driver gpio_mdio_driver =
        .remove         = gpio_mdio_remove,
        .driver = {
                .name = "gpio-mdio-bitbang",
-               .owner = THIS_MODULE,
                .of_match_table = gpio_mdio_match,
        },
 };