commit | 24e04c94bebc4144f790a21a93d090cf9673acd9 | [log] [tgz] |
---|---|---|
author | Yang Li <[email protected]> | Sun Jun 25 09:05:47 2023 +0800 |
committer | Mark Brown <[email protected]> | Sun Jul 09 22:51:00 2023 +0100 |
tree | e2f64a1a2ad2b4bb110c1194f622af9b6a91c355 | |
parent | 754d1ce3ab6bec057bf94b0ec1a789fdfa2fef99 [diff] |
ASoC: tas2781: No need to set device_driver owner Remove .owner field if calls are used which set it automatically. to silence the warning: ./sound/soc/codecs/tas2781-i2c.c:746:3-8: No need to set .owner here. The core will do it. Reported-by: Abaci Robot <[email protected]> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5589 Signed-off-by: Yang Li <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
diff --git a/sound/soc/codecs/tas2781-i2c.c b/sound/soc/codecs/tas2781-i2c.c index 4c59429..55cd5e3 100644 --- a/sound/soc/codecs/tas2781-i2c.c +++ b/sound/soc/codecs/tas2781-i2c.c
@@ -743,7 +743,6 @@ MODULE_DEVICE_TABLE(acpi, tasdevice_acpi_match); static struct i2c_driver tasdevice_i2c_driver = { .driver = { .name = "tas2781-codec", - .owner = THIS_MODULE, .of_match_table = of_match_ptr(tasdevice_of_match), #ifdef CONFIG_ACPI .acpi_match_table = ACPI_PTR(tasdevice_acpi_match),