Skip to content

Commit

Permalink
ASoC: mediatek: Drop owner assignment from platform_driver
Browse files Browse the repository at this point in the history
platform_driver does not need to set an owner because
platform_driver_register() will set it.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Koro Chen <koro.chen@mediatek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Krzysztof Kozlowski authored and Mark Brown committed Jul 14, 2015
1 parent d770e55 commit 27bc1dd
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion sound/soc/mediatek/mt8173-max98090.c
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ MODULE_DEVICE_TABLE(of, mt8173_max98090_dt_match);
static struct platform_driver mt8173_max98090_driver = {
.driver = {
.name = "mt8173-max98090",
.owner = THIS_MODULE,
.of_match_table = mt8173_max98090_dt_match,
#ifdef CONFIG_PM
.pm = &snd_soc_pm_ops,
Expand Down
1 change: 0 additions & 1 deletion sound/soc/mediatek/mt8173-rt5650-rt5676.c
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,6 @@ MODULE_DEVICE_TABLE(of, mt8173_rt5650_rt5676_dt_match);
static struct platform_driver mt8173_rt5650_rt5676_driver = {
.driver = {
.name = "mtk-rt5650-rt5676",
.owner = THIS_MODULE,
.of_match_table = mt8173_rt5650_rt5676_dt_match,
#ifdef CONFIG_PM
.pm = &snd_soc_pm_ops,
Expand Down
1 change: 0 additions & 1 deletion sound/soc/mediatek/mtk-afe-pcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1218,7 +1218,6 @@ static const struct dev_pm_ops mtk_afe_pm_ops = {
static struct platform_driver mtk_afe_pcm_driver = {
.driver = {
.name = "mtk-afe-pcm",
.owner = THIS_MODULE,
.of_match_table = mtk_afe_pcm_dt_match,
.pm = &mtk_afe_pm_ops,
},
Expand Down

0 comments on commit 27bc1dd

Please sign in to comment.