[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180527082822.GA26026@lkp-ne04>
Date: Sun, 27 May 2018 16:28:22 +0800
From: kbuild test robot <fengguang.wu@...el.com>
To: Matti Vaittinen <matti.vaittinen@...rohmeurope.com>
Cc: kbuild-all@...org, mturquette@...libre.com, sboyd@...nel.org,
robh+dt@...nel.org, mark.rutland@....com, lee.jones@...aro.org,
lgirdwood@...il.com, broonie@...nel.org, mazziesaccount@...il.com,
linux-clk@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, mikko.mutanen@...rohmeurope.com,
heikki.haikola@...rohmeurope.com
Subject: [PATCH] clk: bd71837: fix platform_no_drv_owner.cocci warnings
From: kbuild test robot <fengguang.wu@...el.com>
drivers/clk/clk-bd71837.c:145:6-11: 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
Fixes: 0e03c7b6a3c7 ("clk: bd71837: Build ROHM BD71837 PMIC clock driver")
CC: Matti Vaittinen <matti.vaittinen@...rohmeurope.com>
Signed-off-by: kbuild test robot <fengguang.wu@...el.com>
---
clk-bd71837.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/clk/clk-bd71837.c
+++ b/drivers/clk/clk-bd71837.c
@@ -142,7 +142,6 @@ static int bd71837_clk_remove(struct pla
static struct platform_driver bd71837_clk = {
.driver = {
.name = "bd71837-clk",
- .owner = THIS_MODULE,
},
.probe = bd71837_clk_probe,
.remove = bd71837_clk_remove,
Powered by blists - more mailing lists