]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
pinctrl: artpec6: Remove .owner field for driver
authorWei Yongjun <weiyongjun1@huawei.com>
Tue, 25 Apr 2017 03:30:04 +0000 (03:30 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 26 Apr 2017 14:27:27 +0000 (16:27 +0200)
Remove .owner field if calls are used which set it automatically.

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-artpec6.c

index 2886e77fbcf01341c5d96776e77937749621f875..ffe33cfde5b2534428e15b7b3c12dc9431534312 100644 (file)
@@ -966,7 +966,6 @@ static const struct of_device_id artpec6_pinctrl_match[] = {
 static struct platform_driver artpec6_pmx_driver = {
        .driver = {
                .name = "artpec6-pinctrl",
-               .owner = THIS_MODULE,
                .of_match_table = artpec6_pinctrl_match,
        },
        .probe = artpec6_pmx_probe,