Message ID | 20170425033004.22283-1-weiyj.lk@gmail.com |
---|---|
State | New |
Headers | show |
On Tue, Apr 25, 2017 at 5:30 AM, Wei Yongjun <weiyj.lk@gmail.com> wrote: > From: Wei Yongjun <weiyongjun1@huawei.com> > > 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> Patch applied. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/pinctrl/pinctrl-artpec6.c b/drivers/pinctrl/pinctrl-artpec6.c index b5a2eff..8b48871 100644 --- a/drivers/pinctrl/pinctrl-artpec6.c +++ b/drivers/pinctrl/pinctrl-artpec6.c @@ -967,7 +967,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,