[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151005065401.GA24118@lkp-hsx03>
Date: Mon, 5 Oct 2015 14:54:01 +0800
From: kbuild test robot <lkp@...el.com>
To: "H. Nikolaus Schaller" <hns@...delico.com>
Cc: kbuild-all@...org, Rob Herring <robh+dt@...nel.org>,
Pawel Moll <pawel.moll@....com>,
Mark Rutland <mark.rutland@....com>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
Kumar Gala <galak@...eaurora.org>,
BenoƮt Cousson <bcousson@...libre.com>,
Tony Lindgren <tony@...mide.com>,
Russell King <linux@....linux.org.uk>,
Marek Belisko <marek@...delico.com>,
Pradeep Goudagunta <pgoudagunta@...dia.com>,
"H. Nikolaus Schaller" <hns@...delico.com>,
Laxman Dewangan <ldewangan@...dia.com>, gg@...mlogic.co.uk,
jic23@...23.retrosnub.co.uk, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-omap@...r.kernel.org,
linux-iio@...r.kernel.org, Grazvydas Ignotas <notasas@...il.com>
Subject: [PATCH] iio:adc: fix platform_no_drv_owner.cocci warnings
drivers/iio/adc/palmas_gpadc.c:798: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: H. Nikolaus Schaller <hns@...delico.com>
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---
palmas_gpadc.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/iio/adc/palmas_gpadc.c
+++ b/drivers/iio/adc/palmas_gpadc.c
@@ -795,7 +795,6 @@ static struct platform_driver palmas_gpa
.remove = palmas_gpadc_remove,
.driver = {
.name = MOD_NAME,
- .owner = THIS_MODULE,
.pm = &palmas_pm_ops,
},
};
--
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