mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-28 20:02:17 +00:00
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
1 changed files with 0 additions and 1 deletions
|
@ -940,7 +940,6 @@ MODULE_DEVICE_TABLE(of, sprd_pinctrl_of_match);
|
|||
static struct platform_driver sprd_pinctrl_driver = {
|
||||
.driver = {
|
||||
.name = "sprd-pinctrl",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = sprd_pinctrl_of_match,
|
||||
},
|
||||
.probe = sprd_pinctrl_probe,
|
||||
|
|
Loading…
Reference in a new issue