瀏覽代碼

pinctrl: artpec6: Remove .owner field for driver

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>
Wei Yongjun 8 年之前
父節點
當前提交
a5bf5fc060
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/pinctrl/pinctrl-artpec6.c

+ 0 - 1
drivers/pinctrl/pinctrl-artpec6.c

@@ -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,