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

index 79a34cbd29f5260df24da1ae86d460e1a0df3c6f..f8546824d17731ce8341eecde4a33fa6718c4af2 100644 (file)
@@ -645,7 +645,6 @@ static struct platform_driver tilcdc_platform_driver = {
        .probe      = tilcdc_pdev_probe,
        .remove     = tilcdc_pdev_remove,
        .driver     = {
-               .owner  = THIS_MODULE,
                .name   = "tilcdc",
                .pm     = &tilcdc_pm_ops,
                .of_match_table = tilcdc_of_match,