diff mbox series

[-next] ASoC: codecs: fix platform_no_drv_owner.cocci warning

Message ID 20230203011504.78918-1-yang.lee@linux.alibaba.com (mailing list archive)
State Accepted
Commit 1c9ded98bd4e5b87756423e0abededda6f4ba0b8
Headers show
Series [-next] ASoC: codecs: fix platform_no_drv_owner.cocci warning | expand

Commit Message

Yang Li Feb. 3, 2023, 1:15 a.m. UTC
./sound/soc/codecs/aw88395/aw88395.c:572:3-8: No need to set .owner here. The core will do it.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3935
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 sound/soc/codecs/aw88395/aw88395.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Mark Brown Feb. 3, 2023, 2:56 p.m. UTC | #1
On Fri, 03 Feb 2023 09:15:04 +0800, Yang Li wrote:
> ./sound/soc/codecs/aw88395/aw88395.c:572:3-8: No need to set .owner here. The core will do it.
> 
> 

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: codecs: fix platform_no_drv_owner.cocci warning
      commit: 1c9ded98bd4e5b87756423e0abededda6f4ba0b8

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark
diff mbox series

Patch

diff --git a/sound/soc/codecs/aw88395/aw88395.c b/sound/soc/codecs/aw88395/aw88395.c
index bce403744c1a..16ca7ac5ad28 100644
--- a/sound/soc/codecs/aw88395/aw88395.c
+++ b/sound/soc/codecs/aw88395/aw88395.c
@@ -569,7 +569,6 @@  MODULE_DEVICE_TABLE(i2c, aw88395_i2c_id);
 static struct i2c_driver aw88395_i2c_driver = {
 	.driver = {
 		.name = AW88395_I2C_NAME,
-		.owner = THIS_MODULE,
 	},
 	.probe_new = aw88395_i2c_probe,
 	.id_table = aw88395_i2c_id,