From d39445d1008644a5699cceedb9199e5ba3592883 Mon Sep 17 00:00:00 2001 From: Fengguang Wu Date: Sat, 26 Dec 2015 20:25:02 +0530 Subject: [PATCH] goldfish: pipe: fix platform_no_drv_owner.cocci warnings 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: Lizhe Liu Signed-off-by: Fengguang Wu Signed-off-by: Amit Pundir --- drivers/platform/goldfish/goldfish_pipe.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/platform/goldfish/goldfish_pipe.c b/drivers/platform/goldfish/goldfish_pipe.c index 34e447975ece..3215a33cf4fe 100644 --- a/drivers/platform/goldfish/goldfish_pipe.c +++ b/drivers/platform/goldfish/goldfish_pipe.c @@ -666,7 +666,6 @@ static struct platform_driver goldfish_pipe = { .remove = goldfish_pipe_remove, .driver = { .name = "goldfish_pipe", - .owner = THIS_MODULE, .of_match_table = goldfish_pipe_of_match, .acpi_match_table = ACPI_PTR(goldfish_pipe_acpi_match), } -- 2.34.1