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

index a50010e2891f42ec870d423db7b135e0067a965e..158cb3d1db70c91fce6853e38a99c89dc63d6a95 100644 (file)
@@ -445,7 +445,6 @@ static struct platform_driver davinci_evm_driver = {
        .remove         = davinci_evm_remove,
        .driver         = {
                .name   = "davinci_evm",
-               .owner  = THIS_MODULE,
                .pm     = &snd_soc_pm_ops,
                .of_match_table = of_match_ptr(davinci_evm_dt_ids),
        },
index 7682af31d6e6f6f4d6dc47ed281f8259962e50a5..15fb28fc8e1b0f2a76d8957f9f85952eb5bb8127 100644 (file)
@@ -770,7 +770,6 @@ static struct platform_driver davinci_mcbsp_driver = {
        .remove         = davinci_i2s_remove,
        .driver         = {
                .name   = "davinci-mcbsp",
-               .owner  = THIS_MODULE,
        },
 };
 
index 0eed9b1b24e1a5410eb4ddcc90908e919f559f65..9efc110e51e69ccb2a9b26fac3d439096759d702 100644 (file)
@@ -1391,7 +1391,6 @@ static struct platform_driver davinci_mcasp_driver = {
        .remove         = davinci_mcasp_remove,
        .driver         = {
                .name   = "davinci-mcasp",
-               .owner  = THIS_MODULE,
                .of_match_table = mcasp_dt_ids,
        },
 };
index 77aef05588c3ddcf4641c8ca2139318204a6ef2a..5bee04279ebede35dde51844be4c383862e914eb 100644 (file)
@@ -267,7 +267,6 @@ static struct platform_driver davinci_vcif_driver = {
        .remove         = davinci_vcif_remove,
        .driver         = {
                .name   = "davinci-vcif",
-               .owner  = THIS_MODULE,
        },
 };