Skip to content

Commit

Permalink
ASoC: sti-sas: fix platform_no_drv_owner.cocci warnings
Browse files Browse the repository at this point in the history
sound/soc/codecs/sti-sas.c:616: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 Jul 13, 2015
1 parent a2f3a8c commit 9cae85f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sound/soc/codecs/sti-sas.c
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,6 @@ static int sti_sas_driver_remove(struct platform_device *pdev)
static struct platform_driver sti_sas_platform_driver = {
.driver = {
.name = "sti-sas-codec",
.owner = THIS_MODULE,
.of_match_table = sti_sas_dev_match,
},
.probe = sti_sas_driver_probe,
Expand Down

0 comments on commit 9cae85f

Please sign in to comment.