Skip to content

Commit

Permalink
ASoC: zx: fix platform_no_drv_owner.cocci warnings
Browse files Browse the repository at this point in the history
sound/soc/zte/zx296702-i2s.c:428: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

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
kbuild test robot authored and Mark Brown committed Jun 4, 2015
1 parent 69ccc50 commit 67f7277
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sound/soc/zte/zx296702-i2s.c
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,6 @@ static struct platform_driver i2s_driver = {
.probe = zx_i2s_probe,
.driver = {
.name = "zx-i2s",
.owner = THIS_MODULE,
.of_match_table = zx_i2s_dt_ids,
},
};
Expand Down

0 comments on commit 67f7277

Please sign in to comment.