Unverified Commit 5a742399 authored by kbuild test robot's avatar kbuild test robot Committed by Mark Brown
Browse files

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: 1a476abc ("tas2770: add tas2770 smart PA kernel driver")
CC: Frank Shi <shifu0704@thundersoft.com>
Signed-off-by: default avatarkbuild test robot <lkp@intel.com>
Link: https://lore.kernel.org/r/20191001175504.ufhyxh66psrht42k@332d0cec05f4


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent dca6408d
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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,