forked from Minki/linux
ASoC: Intel: fix platform_no_drv_owner.cocci warnings
sound/soc/intel/bytcr_dpcm_rt5640.c:218: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 CC: Subhransu S. Prusty <subhransu.s.prusty@intel.com> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
eca80394ab
commit
602129c8d1
@ -215,7 +215,6 @@ static int snd_byt_mc_probe(struct platform_device *pdev)
|
|||||||
|
|
||||||
static struct platform_driver snd_byt_mc_driver = {
|
static struct platform_driver snd_byt_mc_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.name = "bytt100_rt5640",
|
.name = "bytt100_rt5640",
|
||||||
.pm = &snd_soc_pm_ops,
|
.pm = &snd_soc_pm_ops,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user