ASoC: sirf: 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:14 +02:00
parent f20068009a
commit 33db744abe
3 changed files with 0 additions and 3 deletions

View File

@ -74,7 +74,6 @@ MODULE_DEVICE_TABLE(of, sirf_audio_port_of_match);
static struct platform_driver sirf_audio_port_driver = { static struct platform_driver sirf_audio_port_driver = {
.driver = { .driver = {
.name = "sirf-audio-port", .name = "sirf-audio-port",
.owner = THIS_MODULE,
.of_match_table = sirf_audio_port_of_match, .of_match_table = sirf_audio_port_of_match,
}, },
.probe = sirf_audio_port_probe, .probe = sirf_audio_port_probe,

View File

@ -143,7 +143,6 @@ MODULE_DEVICE_TABLE(of, sirf_audio_of_match);
static struct platform_driver sirf_audio_driver = { static struct platform_driver sirf_audio_driver = {
.driver = { .driver = {
.name = "sirf-audio-card", .name = "sirf-audio-card",
.owner = THIS_MODULE,
.pm = &snd_soc_pm_ops, .pm = &snd_soc_pm_ops,
.of_match_table = sirf_audio_of_match, .of_match_table = sirf_audio_of_match,
}, },

View File

@ -422,7 +422,6 @@ static const struct dev_pm_ops sirf_usp_pcm_pm_ops = {
static struct platform_driver sirf_usp_pcm_driver = { static struct platform_driver sirf_usp_pcm_driver = {
.driver = { .driver = {
.name = "sirf-usp-pcm", .name = "sirf-usp-pcm",
.owner = THIS_MODULE,
.of_match_table = sirf_usp_pcm_of_match, .of_match_table = sirf_usp_pcm_of_match,
.pm = &sirf_usp_pcm_pm_ops, .pm = &sirf_usp_pcm_pm_ops,
}, },