summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFengguang Wu <fengguang.wu@intel.com>2015-12-26 20:25:02 +0530
committerJohn Stultz <john.stultz@linaro.org>2016-02-16 13:54:22 -0800
commitd39445d1008644a5699cceedb9199e5ba3592883 (patch)
tree88fe08172347b9d3a8d8035e60e260c27a8c2deb
parent78674acc3dc24cf9aabd194c884f4b8637999699 (diff)
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 <lizhe.liu@intel.com> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
-rw-r--r--drivers/platform/goldfish/goldfish_pipe.c1
1 files changed, 0 insertions, 1 deletions
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),
}