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

index 6572c233f73d51f82407aa6b685291cd0d208801..66dc62d2156c1e5798e0f2882cc539137a69bb4d 100644 (file)
@@ -650,7 +650,6 @@ static struct platform_driver sh_pfc_driver = {
        .id_table       = sh_pfc_id_table,
        .driver         = {
                .name   = DRV_NAME,
-               .owner  = THIS_MODULE,
                .of_match_table = of_match_ptr(sh_pfc_of_table),
        },
 };