[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161123181344.GA24123@lkp-wsm-ep2>
Date: Thu, 24 Nov 2016 02:13:44 +0800
From: kbuild test robot <lkp@...el.com>
To: Ryan Lee <RyanS.Lee@...imintegrated.com>
Cc: kbuild-all@...org, lgirdwood@...il.com, broonie@...nel.org,
robh+dt@...nel.org, mark.rutland@....com, perex@...ex.cz,
tiwai@...e.com, arnd@...db.de, michael@...rulasolutions.com,
oder_chiou@...ltek.com, yesanishhere@...il.com,
jacob@...nage.engineering, Damien.Horsley@...tec.com,
bardliao@...ltek.com, kuninori.morimoto.gx@...esas.com,
petr@...ix.com, lars@...afoo.de, nh6z@...z.net,
ryans.lee@...imintegrated.com, alsa-devel@...a-project.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] fix platform_no_drv_owner.cocci warnings
sound/soc/codecs/max98927.c:941: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: Ryan Lee <RyanS.Lee@...imintegrated.com>
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---
max98927.c | 1 -
1 file changed, 1 deletion(-)
--- a/sound/soc/codecs/max98927.c
+++ b/sound/soc/codecs/max98927.c
@@ -938,7 +938,6 @@ MODULE_DEVICE_TABLE(of, max98927_of_matc
static struct i2c_driver max98927_i2c_driver = {
.driver = {
.name = "max98927",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(max98927_of_match),
.pm = NULL,
},
Powered by blists - more mailing lists