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 4d171e8..735ba21 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,