mirror of https://gitee.com/openkylin/linux.git
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: YueHaibing <yuehaibing@huawei.com> Link: https://lore.kernel.org/r/20190719032414.85369-1-yuehaibing@huawei.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
5d21595b17
commit
1d1def89bd
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue