mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-18 10:13:57 +08:00
ASoC: codecs: drop owner assignment from platform_drivers
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>
This commit is contained in:
parent
d0052ec305
commit
c756e83d1a
@ -1423,7 +1423,6 @@ static int pm860x_codec_remove(struct platform_device *pdev)
|
||||
static struct platform_driver pm860x_codec_driver = {
|
||||
.driver = {
|
||||
.name = "88pm860x-codec",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = pm860x_codec_probe,
|
||||
.remove = pm860x_codec_remove,
|
||||
|
@ -2609,7 +2609,6 @@ static int ab8500_codec_driver_remove(struct platform_device *pdev)
|
||||
static struct platform_driver ab8500_codec_platform_driver = {
|
||||
.driver = {
|
||||
.name = "ab8500-codec",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = ab8500_codec_driver_probe,
|
||||
.remove = ab8500_codec_driver_remove,
|
||||
|
@ -134,7 +134,6 @@ static int ac97_remove(struct platform_device *pdev)
|
||||
static struct platform_driver ac97_codec_driver = {
|
||||
.driver = {
|
||||
.name = "ac97-codec",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
|
||||
.probe = ac97_probe,
|
||||
|
@ -312,7 +312,6 @@ static int ad1980_remove(struct platform_device *pdev)
|
||||
static struct platform_driver ad1980_codec_driver = {
|
||||
.driver = {
|
||||
.name = "ad1980",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
|
||||
.probe = ad1980_probe,
|
||||
|
@ -76,7 +76,6 @@ static int ad73311_remove(struct platform_device *pdev)
|
||||
static struct platform_driver ad73311_codec_driver = {
|
||||
.driver = {
|
||||
.name = "ad73311",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
|
||||
.probe = ad73311_probe,
|
||||
|
@ -78,7 +78,6 @@ static int ads117x_remove(struct platform_device *pdev)
|
||||
static struct platform_driver ads117x_codec_driver = {
|
||||
.driver = {
|
||||
.name = "ads117x-codec",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
|
||||
.probe = ads117x_probe,
|
||||
|
@ -93,7 +93,6 @@ MODULE_DEVICE_TABLE(of, ak4554_of_match);
|
||||
static struct platform_driver ak4554_driver = {
|
||||
.driver = {
|
||||
.name = "ak4554-adc-dac",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = ak4554_of_match,
|
||||
},
|
||||
.probe = ak4554_soc_probe,
|
||||
|
@ -205,7 +205,6 @@ static struct platform_driver ak5386_driver = {
|
||||
.remove = ak5386_remove,
|
||||
.driver = {
|
||||
.name = "ak5386",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = of_match_ptr(ak5386_dt_ids),
|
||||
},
|
||||
};
|
||||
|
@ -77,7 +77,6 @@ MODULE_DEVICE_TABLE(platform, bt_sco_driver_ids);
|
||||
static struct platform_driver bt_sco_driver = {
|
||||
.driver = {
|
||||
.name = "bt-sco",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = bt_sco_probe,
|
||||
.remove = bt_sco_remove,
|
||||
|
@ -184,7 +184,6 @@ static int cq93vc_platform_remove(struct platform_device *pdev)
|
||||
static struct platform_driver cq93vc_codec_driver = {
|
||||
.driver = {
|
||||
.name = "cq93vc-codec",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
|
||||
.probe = cq93vc_platform_probe,
|
||||
|
@ -429,7 +429,6 @@ static int __exit cx20442_platform_remove(struct platform_device *pdev)
|
||||
static struct platform_driver cx20442_platform_driver = {
|
||||
.driver = {
|
||||
.name = "cx20442-codec",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = cx20442_platform_probe,
|
||||
.remove = __exit_p(cx20442_platform_remove),
|
||||
|
@ -74,7 +74,6 @@ MODULE_ALIAS("platform:dmic-codec");
|
||||
static struct platform_driver dmic_driver = {
|
||||
.driver = {
|
||||
.name = "dmic-codec",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = dmic_dev_probe,
|
||||
.remove = dmic_dev_remove,
|
||||
|
@ -92,7 +92,6 @@ static int hdmi_codec_remove(struct platform_device *pdev)
|
||||
static struct platform_driver hdmi_codec_driver = {
|
||||
.driver = {
|
||||
.name = DRV_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = of_match_ptr(hdmi_audio_codec_ids),
|
||||
},
|
||||
|
||||
|
@ -364,7 +364,6 @@ static struct platform_driver jz4740_codec_driver = {
|
||||
.remove = jz4740_codec_remove,
|
||||
.driver = {
|
||||
.name = "jz4740-codec",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -802,7 +802,6 @@ static int mc13783_codec_remove(struct platform_device *pdev)
|
||||
static struct platform_driver mc13783_codec_driver = {
|
||||
.driver = {
|
||||
.name = "mc13783-codec",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.remove = mc13783_codec_remove,
|
||||
};
|
||||
|
@ -162,7 +162,6 @@ static struct platform_driver pcm3008_codec_driver = {
|
||||
.remove = pcm3008_codec_remove,
|
||||
.driver = {
|
||||
.name = "pcm3008-codec",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -261,7 +261,6 @@ MODULE_ALIAS("platform:si476x-codec");
|
||||
static struct platform_driver si476x_platform_driver = {
|
||||
.driver = {
|
||||
.name = "si476x-codec",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = si476x_platform_probe,
|
||||
.remove = si476x_platform_remove,
|
||||
|
@ -565,7 +565,6 @@ static const struct dev_pm_ops sirf_audio_codec_pm_ops = {
|
||||
static struct platform_driver sirf_audio_codec_driver = {
|
||||
.driver = {
|
||||
.name = "sirf-audio-codec",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = sirf_audio_codec_of_match,
|
||||
.pm = &sirf_audio_codec_pm_ops,
|
||||
},
|
||||
|
@ -916,7 +916,6 @@ static int sn95031_device_remove(struct platform_device *pdev)
|
||||
static struct platform_driver sn95031_codec_driver = {
|
||||
.driver = {
|
||||
.name = "sn95031",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = sn95031_device_probe,
|
||||
.remove = sn95031_device_remove,
|
||||
|
@ -80,7 +80,6 @@ static struct platform_driver spdif_dir_driver = {
|
||||
.remove = spdif_dir_remove,
|
||||
.driver = {
|
||||
.name = "spdif-dir",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = of_match_ptr(spdif_dir_dt_ids),
|
||||
},
|
||||
};
|
||||
|
@ -80,7 +80,6 @@ static struct platform_driver spdif_dit_driver = {
|
||||
.remove = spdif_dit_remove,
|
||||
.driver = {
|
||||
.name = DRV_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = of_match_ptr(spdif_dit_dt_ids),
|
||||
},
|
||||
};
|
||||
|
@ -396,7 +396,6 @@ static int stac9766_remove(struct platform_device *pdev)
|
||||
static struct platform_driver stac9766_codec_driver = {
|
||||
.driver = {
|
||||
.name = "stac9766-codec",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
|
||||
.probe = stac9766_probe,
|
||||
|
@ -2220,7 +2220,6 @@ static struct platform_driver twl4030_codec_driver = {
|
||||
.remove = twl4030_codec_remove,
|
||||
.driver = {
|
||||
.name = "twl4030-codec",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -1198,7 +1198,6 @@ static int twl6040_codec_remove(struct platform_device *pdev)
|
||||
static struct platform_driver twl6040_codec_driver = {
|
||||
.driver = {
|
||||
.name = "twl6040-codec",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = twl6040_codec_probe,
|
||||
.remove = twl6040_codec_remove,
|
||||
|
@ -633,7 +633,6 @@ static int uda134x_codec_remove(struct platform_device *pdev)
|
||||
static struct platform_driver uda134x_codec_driver = {
|
||||
.driver = {
|
||||
.name = "uda134x-codec",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = uda134x_codec_probe,
|
||||
.remove = uda134x_codec_remove,
|
||||
|
@ -515,7 +515,6 @@ MODULE_ALIAS("platform:wl1273-codec");
|
||||
static struct platform_driver wl1273_platform_driver = {
|
||||
.driver = {
|
||||
.name = "wl1273-codec",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = wl1273_platform_probe,
|
||||
.remove = wl1273_platform_remove,
|
||||
|
@ -1958,7 +1958,6 @@ static int wm5102_remove(struct platform_device *pdev)
|
||||
static struct platform_driver wm5102_codec_driver = {
|
||||
.driver = {
|
||||
.name = "wm5102-codec",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = wm5102_probe,
|
||||
.remove = wm5102_remove,
|
||||
|
@ -1738,7 +1738,6 @@ static int wm5110_remove(struct platform_device *pdev)
|
||||
static struct platform_driver wm5110_codec_driver = {
|
||||
.driver = {
|
||||
.name = "wm5110-codec",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = wm5110_probe,
|
||||
.remove = wm5110_remove,
|
||||
|
@ -1641,7 +1641,6 @@ static int wm8350_remove(struct platform_device *pdev)
|
||||
static struct platform_driver wm8350_codec_driver = {
|
||||
.driver = {
|
||||
.name = "wm8350-codec",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = wm8350_probe,
|
||||
.remove = wm8350_remove,
|
||||
|
@ -1397,7 +1397,6 @@ static int wm8400_remove(struct platform_device *pdev)
|
||||
static struct platform_driver wm8400_codec_driver = {
|
||||
.driver = {
|
||||
.name = "wm8400-codec",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = wm8400_probe,
|
||||
.remove = wm8400_remove,
|
||||
|
@ -75,7 +75,6 @@ static int wm8727_remove(struct platform_device *pdev)
|
||||
static struct platform_driver wm8727_codec_driver = {
|
||||
.driver = {
|
||||
.name = "wm8727",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
|
||||
.probe = wm8727_probe,
|
||||
|
@ -72,7 +72,6 @@ static int wm8782_remove(struct platform_device *pdev)
|
||||
static struct platform_driver wm8782_codec_driver = {
|
||||
.driver = {
|
||||
.name = "wm8782",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = wm8782_probe,
|
||||
.remove = wm8782_remove,
|
||||
|
@ -4508,7 +4508,6 @@ static const struct dev_pm_ops wm8994_pm_ops = {
|
||||
static struct platform_driver wm8994_codec_driver = {
|
||||
.driver = {
|
||||
.name = "wm8994-codec",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &wm8994_pm_ops,
|
||||
},
|
||||
.probe = wm8994_probe,
|
||||
|
@ -1165,7 +1165,6 @@ static int wm8997_remove(struct platform_device *pdev)
|
||||
static struct platform_driver wm8997_codec_driver = {
|
||||
.driver = {
|
||||
.name = "wm8997-codec",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = wm8997_probe,
|
||||
.remove = wm8997_remove,
|
||||
|
@ -395,7 +395,6 @@ static int wm9705_remove(struct platform_device *pdev)
|
||||
static struct platform_driver wm9705_codec_driver = {
|
||||
.driver = {
|
||||
.name = "wm9705-codec",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
|
||||
.probe = wm9705_probe,
|
||||
|
@ -700,7 +700,6 @@ static int wm9712_remove(struct platform_device *pdev)
|
||||
static struct platform_driver wm9712_codec_driver = {
|
||||
.driver = {
|
||||
.name = "wm9712-codec",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
|
||||
.probe = wm9712_probe,
|
||||
|
@ -1269,7 +1269,6 @@ static int wm9713_remove(struct platform_device *pdev)
|
||||
static struct platform_driver wm9713_codec_driver = {
|
||||
.driver = {
|
||||
.name = "wm9713-codec",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
|
||||
.probe = wm9713_probe,
|
||||
|
Loading…
Reference in New Issue
Block a user