OSDN Git Service

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 6572c23..66dc62d 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),
        },
 };