ASoC: tegra: fix platform_no_drv_owner.cocci warnings
sound/soc/tegra/tegra_rt5677.c:334: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: Anatol Pomozov <anatol.pomozov@gmail.com> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
dd30014908
commit
012baec5c1
|
@ -331,7 +331,6 @@ static const struct of_device_id tegra_rt5677_of_match[] = {
|
||||||
static struct platform_driver tegra_rt5677_driver = {
|
static struct platform_driver tegra_rt5677_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = DRV_NAME,
|
.name = DRV_NAME,
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.pm = &snd_soc_pm_ops,
|
.pm = &snd_soc_pm_ops,
|
||||||
.of_match_table = tegra_rt5677_of_match,
|
.of_match_table = tegra_rt5677_of_match,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue