From: kbuild test robot Date: Fri, 18 Nov 2016 05:16:07 +0000 (+0800) Subject: ANDROID: video: goldfishfb: fix platform_no_drv_owner.cocci warnings X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5f93f3cb3ab26abd6791bc1f01e6a9db73e65536;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git ANDROID: video: goldfishfb: fix platform_no_drv_owner.cocci warnings drivers/video/fbdev/goldfishfb.c:318:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: Greg Hackmann Signed-off-by: Fengguang Wu Signed-off-by: Guenter Roeck --- diff --git a/drivers/video/fbdev/goldfishfb.c b/drivers/video/fbdev/goldfishfb.c index 131fee0341c3..1e56b50e4082 100644 --- a/drivers/video/fbdev/goldfishfb.c +++ b/drivers/video/fbdev/goldfishfb.c @@ -322,7 +322,6 @@ static struct platform_driver goldfish_fb_driver = { .remove = goldfish_fb_remove, .driver = { .name = "goldfish_fb", - .owner = THIS_MODULE, .of_match_table = goldfish_fb_of_match, .acpi_match_table = ACPI_PTR(goldfish_fb_acpi_match), }