ASoC: rt1305: fix platform_no_drv_owner.cocci warnings

sound/soc/codecs/rt1305.c:1174: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

Fixes: 29bc643ddd ("ASoC: rt1305: Add RT1305/RT1306 amplifier driver")
CC: Shuming Fan <shumingf@realtek.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Fengguang Wu 2018-04-17 03:41:24 +08:00 committed by Mark Brown
parent 816cabd8d4
commit b999a19b33
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0
1 changed files with 0 additions and 1 deletions

View File

@ -1172,7 +1172,6 @@ static void rt1305_i2c_shutdown(struct i2c_client *client)
static struct i2c_driver rt1305_i2c_driver = {
.driver = {
.name = "rt1305",
.owner = THIS_MODULE,
#if defined(CONFIG_OF)
.of_match_table = rt1305_of_match,
#endif