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

index b67ef59851250f6c442cf1dedfa0a88db5230ce9..42e1c48eef2866a5968863895114b633d1e4e2a5 100644 (file)
@@ -987,7 +987,6 @@ static struct platform_driver msm_platform_driver = {
        .probe      = msm_pdev_probe,
        .remove     = msm_pdev_remove,
        .driver     = {
-               .owner  = THIS_MODULE,
                .name   = "msm",
                .of_match_table = dt_match,
                .pm     = &msm_pm_ops,