Commit 1d1def89 authored by YueHaibing's avatar YueHaibing Committed by Linus Walleij

pinctrl: sprd: Fix platform_no_drv_owner.cocci warnings

Remove .owner field if calls are used which set it automatically
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190719032414.85369-1-yuehaibing@huawei.comSigned-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 5d21595b
...@@ -940,7 +940,6 @@ MODULE_DEVICE_TABLE(of, sprd_pinctrl_of_match); ...@@ -940,7 +940,6 @@ MODULE_DEVICE_TABLE(of, sprd_pinctrl_of_match);
static struct platform_driver sprd_pinctrl_driver = { static struct platform_driver sprd_pinctrl_driver = {
.driver = { .driver = {
.name = "sprd-pinctrl", .name = "sprd-pinctrl",
.owner = THIS_MODULE,
.of_match_table = sprd_pinctrl_of_match, .of_match_table = sprd_pinctrl_of_match,
}, },
.probe = sprd_pinctrl_probe, .probe = sprd_pinctrl_probe,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment