diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:59 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:59 -0400 |
commit | 16573a98e1a665f8c52f0b2705d4b74ced8173dd (patch) | |
tree | fa0156a563594fe48e85dfa62f6372dae1b4ae76 /sound | |
parent | 6851da1f744dcc6c9c1945a6aab4575c7cf240cb (diff) |
ALSA: atmel: 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>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/atmel/abdac.c | 1 | ||||
-rw-r--r-- | sound/atmel/ac97c.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/sound/atmel/abdac.c b/sound/atmel/abdac.c index 31061e3521d4..0672e716d296 100644 --- a/sound/atmel/abdac.c +++ b/sound/atmel/abdac.c | |||
@@ -588,7 +588,6 @@ static struct platform_driver atmel_abdac_driver = { | |||
588 | .remove = atmel_abdac_remove, | 588 | .remove = atmel_abdac_remove, |
589 | .driver = { | 589 | .driver = { |
590 | .name = "atmel_abdac", | 590 | .name = "atmel_abdac", |
591 | .owner = THIS_MODULE, | ||
592 | .pm = ATMEL_ABDAC_PM_OPS, | 591 | .pm = ATMEL_ABDAC_PM_OPS, |
593 | }, | 592 | }, |
594 | }; | 593 | }; |
diff --git a/sound/atmel/ac97c.c b/sound/atmel/ac97c.c index b59427d5a697..dcbf3371e24f 100644 --- a/sound/atmel/ac97c.c +++ b/sound/atmel/ac97c.c | |||
@@ -1203,7 +1203,6 @@ static struct platform_driver atmel_ac97c_driver = { | |||
1203 | .remove = atmel_ac97c_remove, | 1203 | .remove = atmel_ac97c_remove, |
1204 | .driver = { | 1204 | .driver = { |
1205 | .name = "atmel_ac97c", | 1205 | .name = "atmel_ac97c", |
1206 | .owner = THIS_MODULE, | ||
1207 | .pm = ATMEL_AC97C_PM_OPS, | 1206 | .pm = ATMEL_AC97C_PM_OPS, |
1208 | }, | 1207 | }, |
1209 | }; | 1208 | }; |