summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 18:21:59 +0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 18:21:59 +0400
commit16573a98e1a665f8c52f0b2705d4b74ced8173dd (patch)
treefa0156a563594fe48e85dfa62f6372dae1b4ae76 /sound
parent6851da1f744dcc6c9c1945a6aab4575c7cf240cb (diff)
downloadlinux-16573a98e1a665f8c52f0b2705d4b74ced8173dd.tar.xz
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.c1
-rw-r--r--sound/atmel/ac97c.c1
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 = {
.remove = atmel_abdac_remove,
.driver = {
.name = "atmel_abdac",
- .owner = THIS_MODULE,
.pm = ATMEL_ABDAC_PM_OPS,
},
};
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 = {
.remove = atmel_ac97c_remove,
.driver = {
.name = "atmel_ac97c",
- .owner = THIS_MODULE,
.pm = ATMEL_AC97C_PM_OPS,
},
};