Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5f93f3cb authored by kbuild test robot's avatar kbuild test robot Committed by Guenter Roeck
Browse files

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 <ghackmann@google.com>
Signed-off-by: default avatarFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: default avatarGuenter Roeck <groeck@chromium.org>
parent 6502f5fc
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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),
	}