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

index 4d171e8640efe7e049a07e2b89d7dd1c5c3eb0de..735ba21efe9169de76d14ef062d08fe1574b1d46 100644 (file)
@@ -86,7 +86,6 @@ static int iris_remove(struct platform_device *pdev)
 static struct platform_driver iris_driver = {
        .driver         = {
                .name   = "iris",
-               .owner  = THIS_MODULE,
        },
        .probe          = iris_probe,
        .remove         = iris_remove,