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:
parent
6502f5fcef
commit
5f93f3cb3a
1 changed files with 0 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue