Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

YueHaibing and committed by
Linus Walleij
1d1def89 5d21595b

-1
-1
drivers/pinctrl/sprd/pinctrl-sprd-sc9860.c
··· 940 940 static struct platform_driver sprd_pinctrl_driver = { 941 941 .driver = { 942 942 .name = "sprd-pinctrl", 943 - .owner = THIS_MODULE, 944 943 .of_match_table = sprd_pinctrl_of_match, 945 944 }, 946 945 .probe = sprd_pinctrl_probe,