lkml.org 
[lkml]   [2014]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] clk: qcom: fix platform_no_drv_owner.cocci warnings
drivers/clk/qcom/kpss-xcc.c:89: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: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

kpss-xcc.c | 1 -
1 file changed, 1 deletion(-)

--- a/drivers/clk/qcom/kpss-xcc.c
+++ b/drivers/clk/qcom/kpss-xcc.c
@@ -86,7 +86,6 @@ static struct platform_driver kpss_xcc_d
.driver = {
.name = "kpss-xcc",
.of_match_table = kpss_xcc_match_table,
- .owner = THIS_MODULE,
},
};
module_platform_driver(kpss_xcc_driver);

\
 
 \ /
  Last update: 2014-12-09 00:01    [W:0.056 / U:2.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site