ASoC: au1x: 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:04 +02:00
Родитель c9845a84be
Коммит 68db31fc04
8 изменённых файлов: 0 добавлений и 8 удалений

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

@ -334,7 +334,6 @@ static const struct dev_pm_ops au1xpscac97_pmops = {
static struct platform_driver au1xac97c_driver = { static struct platform_driver au1xac97c_driver = {
.driver = { .driver = {
.name = "alchemy-ac97c", .name = "alchemy-ac97c",
.owner = THIS_MODULE,
.pm = AU1XPSCAC97_PMOPS, .pm = AU1XPSCAC97_PMOPS,
}, },
.probe = au1xac97c_drvprobe, .probe = au1xac97c_drvprobe,

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

@ -51,7 +51,6 @@ static int db1000_audio_remove(struct platform_device *pdev)
static struct platform_driver db1000_audio_driver = { static struct platform_driver db1000_audio_driver = {
.driver = { .driver = {
.name = "db1000-audio", .name = "db1000-audio",
.owner = THIS_MODULE,
.pm = &snd_soc_pm_ops, .pm = &snd_soc_pm_ops,
}, },
.probe = db1000_audio_probe, .probe = db1000_audio_probe,

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

@ -200,7 +200,6 @@ static int db1200_audio_remove(struct platform_device *pdev)
static struct platform_driver db1200_audio_driver = { static struct platform_driver db1200_audio_driver = {
.driver = { .driver = {
.name = "db1200-ac97", .name = "db1200-ac97",
.owner = THIS_MODULE,
.pm = &snd_soc_pm_ops, .pm = &snd_soc_pm_ops,
}, },
.id_table = db1200_pids, .id_table = db1200_pids,

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

@ -363,7 +363,6 @@ static int au1xpsc_pcm_drvremove(struct platform_device *pdev)
static struct platform_driver au1xpsc_pcm_driver = { static struct platform_driver au1xpsc_pcm_driver = {
.driver = { .driver = {
.name = "au1xpsc-pcm", .name = "au1xpsc-pcm",
.owner = THIS_MODULE,
}, },
.probe = au1xpsc_pcm_drvprobe, .probe = au1xpsc_pcm_drvprobe,
.remove = au1xpsc_pcm_drvremove, .remove = au1xpsc_pcm_drvremove,

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

@ -331,7 +331,6 @@ static int alchemy_pcm_drvremove(struct platform_device *pdev)
static struct platform_driver alchemy_pcmdma_driver = { static struct platform_driver alchemy_pcmdma_driver = {
.driver = { .driver = {
.name = "alchemy-pcm-dma", .name = "alchemy-pcm-dma",
.owner = THIS_MODULE,
}, },
.probe = alchemy_pcm_drvprobe, .probe = alchemy_pcm_drvprobe,
.remove = alchemy_pcm_drvremove, .remove = alchemy_pcm_drvremove,

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

@ -310,7 +310,6 @@ static const struct dev_pm_ops au1xi2sc_pmops = {
static struct platform_driver au1xi2s_driver = { static struct platform_driver au1xi2s_driver = {
.driver = { .driver = {
.name = "alchemy-i2sc", .name = "alchemy-i2sc",
.owner = THIS_MODULE,
.pm = AU1XI2SC_PMOPS, .pm = AU1XI2SC_PMOPS,
}, },
.probe = au1xi2s_drvprobe, .probe = au1xi2s_drvprobe,

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

@ -490,7 +490,6 @@ static struct dev_pm_ops au1xpscac97_pmops = {
static struct platform_driver au1xpsc_ac97_driver = { static struct platform_driver au1xpsc_ac97_driver = {
.driver = { .driver = {
.name = "au1xpsc_ac97", .name = "au1xpsc_ac97",
.owner = THIS_MODULE,
.pm = AU1XPSCAC97_PMOPS, .pm = AU1XPSCAC97_PMOPS,
}, },
.probe = au1xpsc_ac97_drvprobe, .probe = au1xpsc_ac97_drvprobe,

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

@ -419,7 +419,6 @@ static struct dev_pm_ops au1xpsci2s_pmops = {
static struct platform_driver au1xpsc_i2s_driver = { static struct platform_driver au1xpsc_i2s_driver = {
.driver = { .driver = {
.name = "au1xpsc_i2s", .name = "au1xpsc_i2s",
.owner = THIS_MODULE,
.pm = AU1XPSCI2S_PMOPS, .pm = AU1XPSCI2S_PMOPS,
}, },
.probe = au1xpsc_i2s_drvprobe, .probe = au1xpsc_i2s_drvprobe,