diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:22:10 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:22:10 +0200 |
commit | b4c1456f86af6a73b2d716ad21cd6fdfad784bf0 (patch) | |
tree | bcbd73b9293a97188bfc0cfe69ad77bf2e5fb61d | |
parent | 20d7e389f218b5f7a3d54e5705c0f0e6cb13f80d (diff) | |
download | op-kernel-dev-b4c1456f86af6a73b2d716ad21cd6fdfad784bf0.zip op-kernel-dev-b4c1456f86af6a73b2d716ad21cd6fdfad784bf0.tar.gz |
ASoC: kirkwood: 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/kirkwood/armada-370-db.c | 1 | ||||
-rw-r--r-- | sound/soc/kirkwood/kirkwood-i2s.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/kirkwood/armada-370-db.c b/sound/soc/kirkwood/armada-370-db.c index c443338..de7563b 100644 --- a/sound/soc/kirkwood/armada-370-db.c +++ b/sound/soc/kirkwood/armada-370-db.c @@ -134,7 +134,6 @@ static const struct of_device_id a370db_dt_ids[] = { static struct platform_driver a370db_driver = { .driver = { .name = "a370db-audio", - .owner = THIS_MODULE, .of_match_table = of_match_ptr(a370db_dt_ids), }, .probe = a370db_probe, diff --git a/sound/soc/kirkwood/kirkwood-i2s.c b/sound/soc/kirkwood/kirkwood-i2s.c index 0704cd6..def7d82 100644 --- a/sound/soc/kirkwood/kirkwood-i2s.c +++ b/sound/soc/kirkwood/kirkwood-i2s.c @@ -657,7 +657,6 @@ static struct platform_driver kirkwood_i2s_driver = { .remove = kirkwood_i2s_dev_remove, .driver = { .name = DRV_NAME, - .owner = THIS_MODULE, .of_match_table = of_match_ptr(mvebu_audio_of_match), }, }; |