ASoC: tegra: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:22:15 +0000 (16:22 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:22:15 +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>
13 files changed:
sound/soc/tegra/tegra20_ac97.c
sound/soc/tegra/tegra20_das.c
sound/soc/tegra/tegra20_i2s.c
sound/soc/tegra/tegra20_spdif.c
sound/soc/tegra/tegra30_ahub.c
sound/soc/tegra/tegra30_i2s.c
sound/soc/tegra/tegra_alc5632.c
sound/soc/tegra/tegra_max98090.c
sound/soc/tegra/tegra_rt5640.c
sound/soc/tegra/tegra_wm8753.c
sound/soc/tegra/tegra_wm8903.c
sound/soc/tegra/tegra_wm9712.c
sound/soc/tegra/trimslice.c

index 3b0fa12dbff7ea743b045cffb965f36621865112..e3dd2615eb69082f2ccba19323f858bddee0e0bd 100644 (file)
@@ -438,7 +438,6 @@ static const struct of_device_id tegra20_ac97_of_match[] = {
 static struct platform_driver tegra20_ac97_driver = {
        .driver = {
                .name = DRV_NAME,
-               .owner = THIS_MODULE,
                .of_match_table = tegra20_ac97_of_match,
        },
        .probe = tegra20_ac97_platform_probe,
index a634f13b3ffc51456ea174c885196fe3dd26f3f2..f52600b4f3fd37d5c1aabc5c316c55922d2f9fb6 100644 (file)
@@ -233,7 +233,6 @@ static struct platform_driver tegra20_das_driver = {
        .remove = tegra20_das_remove,
        .driver = {
                .name = DRV_NAME,
-               .owner = THIS_MODULE,
                .of_match_table = tegra20_das_of_match,
        },
 };
index 79a9932ffe6ed49b2a99ba4b66c5b205b9877da4..05f1c6ee99e3614dbbe66d21e7baad907b4932ae 100644 (file)
@@ -464,7 +464,6 @@ static const struct dev_pm_ops tegra20_i2s_pm_ops = {
 static struct platform_driver tegra20_i2s_driver = {
        .driver = {
                .name = DRV_NAME,
-               .owner = THIS_MODULE,
                .of_match_table = tegra20_i2s_of_match,
                .pm = &tegra20_i2s_pm_ops,
        },
index a0ce92400faf9e69331b2fdbf33d854c1b6f469c..9141477a528dda7760056878465f00778f9eb2b8 100644 (file)
@@ -387,7 +387,6 @@ static const struct dev_pm_ops tegra20_spdif_pm_ops = {
 static struct platform_driver tegra20_spdif_driver = {
        .driver = {
                .name = DRV_NAME,
-               .owner = THIS_MODULE,
                .pm = &tegra20_spdif_pm_ops,
        },
        .probe = tegra20_spdif_platform_probe,
index 0db68f49f4d9ba02c05ff71379ade1dd8e98d17c..bc94e5d8e79a7553476da8099ed6df822e2eea5d 100644 (file)
@@ -723,7 +723,6 @@ static struct platform_driver tegra30_ahub_driver = {
        .remove = tegra30_ahub_remove,
        .driver = {
                .name = DRV_NAME,
-               .owner = THIS_MODULE,
                .of_match_table = tegra30_ahub_of_match,
                .pm = &tegra30_ahub_pm_ops,
        },
index f146c41dd3ecddb5b2d0f471eaa08e1b447235e7..fe36375ba89c5bd68dbc785ad0e15aebe10a574b 100644 (file)
@@ -585,7 +585,6 @@ static const struct dev_pm_ops tegra30_i2s_pm_ops = {
 static struct platform_driver tegra30_i2s_driver = {
        .driver = {
                .name = DRV_NAME,
-               .owner = THIS_MODULE,
                .of_match_table = tegra30_i2s_of_match,
                .pm = &tegra30_i2s_pm_ops,
        },
index a83aff09dce2aa4dbb3755012a07f22ce1de830f..769aca2fc5f5af214fcd3505103e714e71531c7b 100644 (file)
@@ -250,7 +250,6 @@ static const struct of_device_id tegra_alc5632_of_match[] = {
 static struct platform_driver tegra_alc5632_driver = {
        .driver = {
                .name = DRV_NAME,
-               .owner = THIS_MODULE,
                .pm = &snd_soc_pm_ops,
                .of_match_table = tegra_alc5632_of_match,
        },
index 01921d7e73fa65392da04ed823a60ef0be42c34a..af3fb997b75228927f4a32b53d65eb78938efd22 100644 (file)
@@ -308,7 +308,6 @@ static const struct of_device_id tegra_max98090_of_match[] = {
 static struct platform_driver tegra_max98090_driver = {
        .driver = {
                .name = DRV_NAME,
-               .owner = THIS_MODULE,
                .pm = &snd_soc_pm_ops,
                .of_match_table = tegra_max98090_of_match,
        },
index a6898831fb9f3b0011ddd0c3341901ffe9f1d043..c0c15a94bab17a9a5889ece508ffa0f6d0c6f0e9 100644 (file)
@@ -251,7 +251,6 @@ static const struct of_device_id tegra_rt5640_of_match[] = {
 static struct platform_driver tegra_rt5640_driver = {
        .driver = {
                .name = DRV_NAME,
-               .owner = THIS_MODULE,
                .pm = &snd_soc_pm_ops,
                .of_match_table = tegra_rt5640_of_match,
        },
index 769e28f6642e7f11207bf29687e1d16f96781d0b..f0cd01dbfc3805e8b4f8510e75c0214c432454c0 100644 (file)
@@ -204,7 +204,6 @@ static const struct of_device_id tegra_wm8753_of_match[] = {
 static struct platform_driver tegra_wm8753_driver = {
        .driver = {
                .name = DRV_NAME,
-               .owner = THIS_MODULE,
                .pm = &snd_soc_pm_ops,
                .of_match_table = tegra_wm8753_of_match,
        },
index 86e05e938585ffed43a8ff6610ff4c162cecade3..e52420dae2b4b02df762df096ba366ad1c621d02 100644 (file)
@@ -386,7 +386,6 @@ static const struct of_device_id tegra_wm8903_of_match[] = {
 static struct platform_driver tegra_wm8903_driver = {
        .driver = {
                .name = DRV_NAME,
-               .owner = THIS_MODULE,
                .pm = &snd_soc_pm_ops,
                .of_match_table = tegra_wm8903_of_match,
        },
index de087ee3458ab0479628bd05b1ce50dca3ddb2be..2868b4839bc0a0e7c8899fa7d4e97b51fce9fa96 100644 (file)
@@ -167,7 +167,6 @@ static const struct of_device_id tegra_wm9712_of_match[] = {
 static struct platform_driver tegra_wm9712_driver = {
        .driver = {
                .name = DRV_NAME,
-               .owner = THIS_MODULE,
                .pm = &snd_soc_pm_ops,
                .of_match_table = tegra_wm9712_of_match,
        },
index 589d2d9b553a907d71c56acf14f12c606b3f1305..2cea203c4f5f1529010659770f314d33ce552d23 100644 (file)
@@ -193,7 +193,6 @@ MODULE_DEVICE_TABLE(of, trimslice_of_match);
 static struct platform_driver tegra_snd_trimslice_driver = {
        .driver = {
                .name = DRV_NAME,
-               .owner = THIS_MODULE,
                .of_match_table = trimslice_of_match,
        },
        .probe = tegra_snd_trimslice_probe,
This page took 0.030672 seconds and 5 git commands to generate.