]> git.baikalelectronics.ru Git - kernel.git/commit
tas2770: fix platform_no_drv_owner.cocci warnings
authorkbuild test robot <lkp@intel.com>
Tue, 1 Oct 2019 17:55:04 +0000 (01:55 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 3 Oct 2019 13:33:20 +0000 (14:33 +0100)
commitc3b82ef81d85cbb2473ad7cf5cf43f7f7c982d52
tree4531aeffebc1c2bf72a7f3a7b0e4097e98c781fe
parentcc2c7dd8b0b92d6575b4822f2aa6e19499232224
tas2770: fix platform_no_drv_owner.cocci warnings

sound/soc/codecs/tas2770.c:796: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: 8c41a7cb5897 ("tas2770: add tas2770 smart PA kernel driver")
CC: Frank Shi <shifu0704@thundersoft.com>
Signed-off-by: kbuild test robot <lkp@intel.com>
Link: https://lore.kernel.org/r/20191001175504.ufhyxh66psrht42k@332d0cec05f4
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tas2770.c