]> git.karo-electronics.de Git - linux-beck.git/commitdiff
powerpc: platforms: 82xx: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:11 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:11 +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/82xx/ep8248e.c

index 3d0c3a01143de70d8bac28a1e884fed0c64cfe24..a0cb8bd41958b3f79058e2d888f6fd8ea054372a 100644 (file)
@@ -169,7 +169,6 @@ static const struct of_device_id ep8248e_mdio_match[] = {
 static struct platform_driver ep8248e_mdio_driver = {
        .driver = {
                .name = "ep8248e-mdio-bitbang",
-               .owner = THIS_MODULE,
                .of_match_table = ep8248e_mdio_match,
        },
        .probe = ep8248e_mdio_probe,