diff options
author | kbuild test robot <lkp@intel.com> | 2019-10-01 19:55:04 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-10-03 15:33:20 +0200 |
commit | 5a7423993007d08bfc7b982451eca0526f51744d (patch) | |
tree | 4531aeffebc1c2bf72a7f3a7b0e4097e98c781fe /sound/soc/codecs/tas2770.c | |
parent | ASoC: samsung: Rename Arndale card driver (diff) | |
download | linux-5a7423993007d08bfc7b982451eca0526f51744d.tar.xz linux-5a7423993007d08bfc7b982451eca0526f51744d.zip |
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: 1a476abc723e ("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>
Diffstat (limited to 'sound/soc/codecs/tas2770.c')
-rw-r--r-- | sound/soc/codecs/tas2770.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/tas2770.c b/sound/soc/codecs/tas2770.c index 9da88ccb1d51..dbbb21fe0548 100644 --- a/sound/soc/codecs/tas2770.c +++ b/sound/soc/codecs/tas2770.c @@ -793,7 +793,6 @@ MODULE_DEVICE_TABLE(of, tas2770_of_match); static struct i2c_driver tas2770_i2c_driver = { .driver = { .name = "tas2770", - .owner = THIS_MODULE, .of_match_table = of_match_ptr(tas2770_of_match), }, .probe = tas2770_i2c_probe, |