ASoC: tegra: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away. Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:

committed by
Mark Brown

parent
468c11754b
commit
4652a0d0c4
@@ -120,7 +120,7 @@ static struct snd_soc_card snd_soc_trimslice = {
|
||||
.fully_routed = true,
|
||||
};
|
||||
|
||||
static __devinit int tegra_snd_trimslice_probe(struct platform_device *pdev)
|
||||
static int tegra_snd_trimslice_probe(struct platform_device *pdev)
|
||||
{
|
||||
struct snd_soc_card *card = &snd_soc_trimslice;
|
||||
struct tegra_trimslice *trimslice;
|
||||
@@ -183,7 +183,7 @@ err:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit tegra_snd_trimslice_remove(struct platform_device *pdev)
|
||||
static int tegra_snd_trimslice_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct snd_soc_card *card = platform_get_drvdata(pdev);
|
||||
struct tegra_trimslice *trimslice = snd_soc_card_get_drvdata(card);
|
||||
@@ -208,7 +208,7 @@ static struct platform_driver tegra_snd_trimslice_driver = {
|
||||
.of_match_table = trimslice_of_match,
|
||||
},
|
||||
.probe = tegra_snd_trimslice_probe,
|
||||
.remove = __devexit_p(tegra_snd_trimslice_remove),
|
||||
.remove = tegra_snd_trimslice_remove,
|
||||
};
|
||||
module_platform_driver(tegra_snd_trimslice_driver);
|
||||
|
||||
|
Reference in New Issue
Block a user