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:
YueHaibing 2019-07-19 03:24:14 +00:00 коммит произвёл Linus Walleij
Родитель 5d21595b17
Коммит 1d1def89bd
1 изменённых файлов: 0 добавлений и 1 удалений

Просмотреть файл

@ -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,