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: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Guenter Roeck <groeck@chromium.org>
This commit is contained in:
kbuild test robot 2016-11-18 13:16:07 +08:00 committed by Guenter Roeck
parent 6502f5fcef
commit 5f93f3cb3a

View file

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