pinctrl: mtk2701: skip setting .owner
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 17 Feb 2016 16:08:47 +0000 (17:08 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 17 Feb 2016 16:08:47 +0000 (17:08 +0100)
The device core will handle this and Coccinelle complains.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/mediatek/pinctrl-mt2701.c

index 65b0d3e69b36a46e24f0dc928893e7a68beddb50..8d802fa7decd9d6121f00d4e3a5932ab0814569c 100644 (file)
@@ -573,7 +573,6 @@ static struct platform_driver mtk_pinctrl_driver = {
        .probe = mt2701_pinctrl_probe,
        .driver = {
                .name = "mediatek-mt2701-pinctrl",
-               .owner = THIS_MODULE,
                .of_match_table = mt2701_pctrl_match,
                .pm = &mtk_eint_pm_ops,
        },