Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1184374 > unrolled thread

[PATCH v2 2/2] ASoC: Drop owner assignment from platform_driver

Started byKrzysztof Kozlowski <k.kozlowski@samsung.com>
First post2015-07-15 09:20 +0200
Last post2015-07-15 11:50 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v2 2/2] ASoC: Drop owner assignment from platform_driver Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2015-07-15 09:20 +0200
    Re: [PATCH v2 2/2] ASoC: Drop owner assignment from platform_driver Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2015-07-15 09:30 +0200
      Re: [PATCH v2 2/2] ASoC: Drop owner assignment from platform_driver Mark Brown <broonie@kernel.org> - 2015-07-15 11:50 +0200

#1184374 — [PATCH v2 2/2] ASoC: Drop owner assignment from platform_driver

FromKrzysztof Kozlowski <k.kozlowski@samsung.com>
Date2015-07-15 09:20 +0200
Subject[PATCH v2 2/2] ASoC: Drop owner assignment from platform_driver
Message-ID<pMp8Z-p8-1@gated-at.bofh.it>
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>

---

Changes since v1:
1. None
---
 sound/soc/mediatek/mt8173-max98090.c      | 1 -
 sound/soc/mediatek/mt8173-rt5650-rt5676.c | 1 -
 sound/soc/mediatek/mtk-afe-pcm.c          | 1 -
 3 files changed, 3 deletions(-)

diff --git a/sound/soc/mediatek/mt8173-max98090.c b/sound/soc/mediatek/mt8173-max98090.c
index 2d2536af141f..39e5660a39ac 100644
--- a/sound/soc/mediatek/mt8173-max98090.c
+++ b/sound/soc/mediatek/mt8173-max98090.c
@@ -202,7 +202,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,
diff --git a/sound/soc/mediatek/mt8173-rt5650-rt5676.c b/sound/soc/mediatek/mt8173-rt5650-rt5676.c
index 6f52eca05e26..b722145a684c 100644
--- a/sound/soc/mediatek/mt8173-rt5650-rt5676.c
+++ b/sound/soc/mediatek/mt8173-rt5650-rt5676.c
@@ -269,7 +269,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,
diff --git a/sound/soc/mediatek/mtk-afe-pcm.c b/sound/soc/mediatek/mtk-afe-pcm.c
index 9863da73dfe0..de38d2e8ef91 100644
--- a/sound/soc/mediatek/mtk-afe-pcm.c
+++ b/sound/soc/mediatek/mtk-afe-pcm.c
@@ -1220,7 +1220,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,
 	},
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1184378

FromKrzysztof Kozlowski <k.kozlowski@samsung.com>
Date2015-07-15 09:30 +0200
Message-ID<pMpiF-Ak-5@gated-at.bofh.it>
In reply to#1184374
On 15.07.2015 13:21, Krzysztof Kozlowski wrote:
> 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>
> 
> ---
> 
> Changes since v1:
> 1. None
> ---

D'oh! I forgot to include ack from Koro Chen given here:
https://lkml.org/lkml/2015/7/12/218

Please accept my apologies,
Krzysztof

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1184565

FromMark Brown <broonie@kernel.org>
Date2015-07-15 11:50 +0200
Message-ID<pMrud-3G9-55@gated-at.bofh.it>
In reply to#1184378

[Multipart message — attachments visible in raw view] — view raw

On Wed, Jul 15, 2015 at 04:23:00PM +0900, Krzysztof Kozlowski wrote:

> > platform_driver does not need to set an owner because
> > platform_driver_register() will set it.

> D'oh! I forgot to include ack from Koro Chen given here:
> https://lkml.org/lkml/2015/7/12/218

That and the fact that it's already applied.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web