mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 01:34:14 +08:00
ASoC: mediatek: Drop owner assignment from platform_driver
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>
This commit is contained in:
parent
d770e558e2
commit
27bc1dd244
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user