diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:22:14 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:22:14 -0400 |
commit | 0d0a995aa8711adeaee2c4d00178e51efa3c8479 (patch) | |
tree | 272e0aa6198b17afd7094e06ec20ebfd34d9c6dc | |
parent | 33db744abe957baa8440b7065644c1becde28dc3 (diff) |
ASoC: spear: drop owner assignment from platform_drivers
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
-rw-r--r-- | sound/soc/spear/spdif_in.c | 1 | ||||
-rw-r--r-- | sound/soc/spear/spdif_out.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/spear/spdif_in.c b/sound/soc/spear/spdif_in.c index 4ab442a63d7e..a4028601da01 100644 --- a/sound/soc/spear/spdif_in.c +++ b/sound/soc/spear/spdif_in.c | |||
@@ -274,7 +274,6 @@ static struct platform_driver spdif_in_driver = { | |||
274 | .probe = spdif_in_probe, | 274 | .probe = spdif_in_probe, |
275 | .driver = { | 275 | .driver = { |
276 | .name = "spdif-in", | 276 | .name = "spdif-in", |
277 | .owner = THIS_MODULE, | ||
278 | }, | 277 | }, |
279 | }; | 278 | }; |
280 | 279 | ||
diff --git a/sound/soc/spear/spdif_out.c b/sound/soc/spear/spdif_out.c index 19cca043e6e4..0a72d52d533e 100644 --- a/sound/soc/spear/spdif_out.c +++ b/sound/soc/spear/spdif_out.c | |||
@@ -354,7 +354,6 @@ static struct platform_driver spdif_out_driver = { | |||
354 | .probe = spdif_out_probe, | 354 | .probe = spdif_out_probe, |
355 | .driver = { | 355 | .driver = { |
356 | .name = "spdif-out", | 356 | .name = "spdif-out", |
357 | .owner = THIS_MODULE, | ||
358 | .pm = SPDIF_OUT_DEV_PM_OPS, | 357 | .pm = SPDIF_OUT_DEV_PM_OPS, |
359 | }, | 358 | }, |
360 | }; | 359 | }; |