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 a50010e..158cb3d 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 7682af3..15fb28f 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 0eed9b1..9efc110 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 77aef05..5bee042 100644 (file)
@@ -267,7 +267,6 @@ static struct platform_driver davinci_vcif_driver = {
        .remove         = davinci_vcif_remove,
        .driver         = {
                .name   = "davinci-vcif",
-               .owner  = THIS_MODULE,
        },
 };