[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160107155619.GA88818@lkp-hsx03>
Date: Thu, 7 Jan 2016 23:56:19 +0800
From: kbuild test robot <lkp@...el.com>
To: Laxman Dewangan <ldewangan@...dia.com>
Cc: kbuild-all@...org, robh+dt@...nel.org, pawel.moll@....com,
mark.rutland@....com, ijc+devicetree@...lion.org.uk,
galak@...eaurora.org, linus.walleij@...aro.org, gnurou@...il.com,
lee.jones@...aro.org, broonie@...nel.org, a.zummo@...ertech.it,
alexandre.belloni@...e-electrons.com, lgirdwood@...il.com,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-gpio@...r.kernel.org, rtc-linux@...glegroups.com,
swarren@...dia.com, treding@...dia.com,
Laxman Dewangan <ldewangan@...dia.com>,
Chaitanya Bandi <bandik@...dia.com>,
Mallikarjun Kasoju <mkasoju@...dia.com>
Subject: [PATCH] mfd: max77620: fix platform_no_drv_owner.cocci warnings
drivers/mfd/max77620.c:900: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: Laxman Dewangan <ldewangan@...dia.com>
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---
max77620.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/mfd/max77620.c
+++ b/drivers/mfd/max77620.c
@@ -897,7 +897,6 @@ static const struct dev_pm_ops max77620_
static struct i2c_driver max77620_driver = {
.driver = {
.name = "max77620",
- .owner = THIS_MODULE,
.pm = &max77620_pm_ops,
.of_match_table = max77620_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