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

index d8961ef4d2e70ddf33f123905700f3772c82c2aa..c6dc3548e5d1add89bdc06235f2a69707774be5f 100644 (file)
@@ -277,7 +277,6 @@ static struct platform_driver tegra_ahb_driver = {
        .probe = tegra_ahb_probe,
        .driver = {
                .name = DRV_NAME,
-               .owner = THIS_MODULE,
                .of_match_table = tegra_ahb_of_match,
                .pm = &tegra_ahb_pm,
        },