ASoC: rt1305: fix platform_no_drv_owner.cocci warnings
authorFengguang Wu <fengguang.wu@intel.com>
Mon, 16 Apr 2018 19:41:24 +0000 (03:41 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 17 Apr 2018 09:56:19 +0000 (10:56 +0100)
commitb999a19b3324ae3538bc13d11210bdfc8016616a
treeba6c3a0dcfe48133c532f6f04446be40ccc145a6
parent816cabd8d472d2e1b7daad2838eb4ce5046f03bb
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: 29bc643ddd7e ("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>
sound/soc/codecs/rt1305.c