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

Change-Id: Iffb5a344d19088cc5e1fe7e5fcc3a907fe936802
CC: Greg Hackmann <ghackmann@google.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Guenter Roeck <groeck@chromium.org>
tirimbino
kbuild test robot 8 years ago committed by Amit Pundir
parent e19ebff8a2
commit 0b67d6e683
  1. 1
      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),
}

Loading…
Cancel
Save