[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20150213044904.GA3131@waimea>
Date: Fri, 13 Feb 2015 12:49:04 +0800
From: kbuild test robot <fengguang.wu@...el.com>
To: Rob Clark <robdclark@...il.com>
Cc: kbuild-all@...org, Mike Turquette <mturquette@...aro.org>,
Stephen Boyd <sboyd@...eaurora.org>,
Srinivas Kandagatla <srinivas.kandagatla@...aro.org>,
linux-kernel@...r.kernel.org
Subject: [PATCH] fix platform_no_drv_owner.cocci warnings
drivers/clk/qcom/clk-rpm.c:262: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
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---
clk-rpm.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/clk/qcom/clk-rpm.c
+++ b/drivers/clk/qcom/clk-rpm.c
@@ -259,7 +259,6 @@ static struct platform_driver rpm_clk_dr
.probe = rpm_clk_probe,
.driver = {
.name = "qcom-rpm-clk",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(clk_rpm_of_match),
},
};
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists