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>
This commit is contained in:
Wolfram Sang 2014-10-20 16:22:10 +02:00
Родитель 20d7e389f2
Коммит b4c1456f86
2 изменённых файлов: 0 добавлений и 2 удалений

Просмотреть файл

@ -134,7 +134,6 @@ static const struct of_device_id a370db_dt_ids[] = {
static struct platform_driver a370db_driver = { static struct platform_driver a370db_driver = {
.driver = { .driver = {
.name = "a370db-audio", .name = "a370db-audio",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(a370db_dt_ids), .of_match_table = of_match_ptr(a370db_dt_ids),
}, },
.probe = a370db_probe, .probe = a370db_probe,

Просмотреть файл

@ -657,7 +657,6 @@ static struct platform_driver kirkwood_i2s_driver = {
.remove = kirkwood_i2s_dev_remove, .remove = kirkwood_i2s_dev_remove,
.driver = { .driver = {
.name = DRV_NAME, .name = DRV_NAME,
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(mvebu_audio_of_match), .of_match_table = of_match_ptr(mvebu_audio_of_match),
}, },
}; };