ASoC: intel: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:22:09 +0000 (16:22 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:22:09 +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/intel/broadwell.c
sound/soc/intel/byt-max98090.c
sound/soc/intel/byt-rt5640.c
sound/soc/intel/haswell.c
sound/soc/intel/mfld_machine.c
sound/soc/intel/sst-acpi.c
sound/soc/intel/sst-baytrail-pcm.c
sound/soc/intel/sst-haswell-pcm.c
sound/soc/intel/sst-mfld-platform-pcm.c

index 0e550f14028f11ce04fa5bfd4b560f9c283b4ade..8db22982f259ca34fc604c701c1e248661f3ce8d 100644 (file)
@@ -238,7 +238,6 @@ static struct platform_driver broadwell_audio = {
        .remove = broadwell_audio_remove,
        .driver = {
                .name = "broadwell-audio",
-               .owner = THIS_MODULE,
        },
 };
 
index d52681e7225e72737145463f5db7664f6c6037af..9832afe7d22cb082e3d54dffce9f723f947716d7 100644 (file)
@@ -181,7 +181,6 @@ static struct platform_driver byt_max98090_driver = {
        .remove = byt_max98090_remove,
        .driver = {
                .name = "byt-max98090",
-               .owner = THIS_MODULE,
                .pm = &snd_soc_pm_ops,
        },
 };
index e03abdf21c1bc3f4dbff62f4cd46d80327dbadd1..0cba7830c5e9df4d20ce90bab96625bf0596ff4b 100644 (file)
@@ -224,7 +224,6 @@ static struct platform_driver byt_rt5640_audio = {
        .probe = byt_rt5640_probe,
        .driver = {
                .name = "byt-rt5640",
-               .owner = THIS_MODULE,
                .pm = &snd_soc_pm_ops,
        },
 };
index 3981982674ac9d1273b64a7da4f947506fcff8f3..9de3f8c4ddc6d16269457bdc814582d60021f8fd 100644 (file)
@@ -209,7 +209,6 @@ static struct platform_driver haswell_audio = {
        .probe = haswell_audio_probe,
        .driver = {
                .name = "haswell-audio",
-               .owner = THIS_MODULE,
        },
 };
 
index 031d78783fc8cb8c824f961947c640685f7f95fb..90b7a57713a0234bb6aebfb9ae343c2a65c495ae 100644 (file)
@@ -420,7 +420,6 @@ static int snd_mfld_mc_probe(struct platform_device *pdev)
 
 static struct platform_driver snd_mfld_mc_driver = {
        .driver = {
-               .owner = THIS_MODULE,
                .name = "msic_audio",
        },
        .probe = snd_mfld_mc_probe,
index 03d0a166b6359243a12e046aa64264dc647f4cdd..b3d84560fbb5da2f6ce908eb1803b9031da71d78 100644 (file)
@@ -275,7 +275,6 @@ static struct platform_driver sst_acpi_driver = {
        .remove = sst_acpi_remove,
        .driver = {
                .name = "sst-acpi",
-               .owner = THIS_MODULE,
                .acpi_match_table = ACPI_PTR(sst_acpi_match),
        },
 };
index eab1c7d8518782b01e517e562c6dd7f9eb686d5c..3bb6288d8b4d8af42a7ff866fd67832c7cc43466 100644 (file)
@@ -497,7 +497,6 @@ static int sst_byt_pcm_dev_remove(struct platform_device *pdev)
 static struct platform_driver sst_byt_pcm_driver = {
        .driver = {
                .name = "baytrail-pcm-audio",
-               .owner = THIS_MODULE,
                .pm = SST_BYT_PM_OPS,
        },
 
index 33fc5c3abf558e52850e46c523702559e203b1bc..467dac3b107542abe4b0fff185cc63044fd05f96 100644 (file)
@@ -901,7 +901,6 @@ static int hsw_pcm_dev_remove(struct platform_device *pdev)
 static struct platform_driver hsw_pcm_driver = {
        .driver = {
                .name = "haswell-pcm-audio",
-               .owner = THIS_MODULE,
        },
 
        .probe = hsw_pcm_dev_probe,
index aa9b600dfc9bfd1468c280ff61b1b7c5f728f159..a31536b8dcca4ab8de18694359641ae9d18edb2f 100644 (file)
@@ -639,7 +639,6 @@ static int sst_platform_remove(struct platform_device *pdev)
 static struct platform_driver sst_platform_driver = {
        .driver         = {
                .name           = "sst-mfld-platform",
-               .owner          = THIS_MODULE,
        },
        .probe          = sst_platform_probe,
        .remove         = sst_platform_remove,