Skip to content

Commit

Permalink
pinctrl: artpec6: Remove .owner field for driver
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wei Yongjun authored and Linus Walleij committed Apr 26, 2017
1 parent 02101cb commit a5bf5fc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/pinctrl/pinctrl-artpec6.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a5bf5fc

Please sign in to comment.