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

index e8804522860731a01492e89c598596ff1162b3f7..347b8b1ffa29d3ac48cc92bda26b7690c577b894 100644 (file)
@@ -224,7 +224,6 @@ static struct platform_driver g_oz_plat_drv = {
        .resume = oz_plat_resume,
        .driver = {
                .name = OZ_PLAT_DEV_NAME,
-               .owner = THIS_MODULE,
        },
 };