ASoC: sirf: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:22:14 +0000 (16:22 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:22:14 +0000 (16:22 +0200)
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>
sound/soc/sirf/sirf-audio-port.c
sound/soc/sirf/sirf-audio.c
sound/soc/sirf/sirf-usp.c

index b4afa31b2bc11ea00baf93c22a6cf244d47732e5..3f2cce03275c3b17a66adf9d4c761802006b89b8 100644 (file)
@@ -74,7 +74,6 @@ MODULE_DEVICE_TABLE(of, sirf_audio_port_of_match);
 static struct platform_driver sirf_audio_port_driver = {
        .driver = {
                .name = "sirf-audio-port",
-               .owner = THIS_MODULE,
                .of_match_table = sirf_audio_port_of_match,
        },
        .probe = sirf_audio_port_probe,
index ecef51021653c6c8a36bb0436200c994f474d73e..94ea152e036218e46452c97425b41dd5a468794a 100644 (file)
@@ -143,7 +143,6 @@ MODULE_DEVICE_TABLE(of, sirf_audio_of_match);
 static struct platform_driver sirf_audio_driver = {
        .driver = {
                .name = "sirf-audio-card",
-               .owner = THIS_MODULE,
                .pm = &snd_soc_pm_ops,
                .of_match_table = sirf_audio_of_match,
        },
index 186dc7f33a55f4dd409b52081945fc89d02ec246..45fc06c0e0e551f00ef6f89717a8dbab2dcdbd91 100644 (file)
@@ -422,7 +422,6 @@ static const struct dev_pm_ops sirf_usp_pcm_pm_ops = {
 static struct platform_driver sirf_usp_pcm_driver = {
        .driver = {
                .name = "sirf-usp-pcm",
-               .owner = THIS_MODULE,
                .of_match_table = sirf_usp_pcm_of_match,
                .pm = &sirf_usp_pcm_pm_ops,
        },
This page took 0.02801 seconds and 5 git commands to generate.