Skip to content

Commit

Permalink
ASoC: pxa/hx4700: remove __dev* attributes
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bill Pemberton authored and Mark Brown committed Dec 9, 2012
1 parent dca66da commit d7f1be8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sound/soc/pxa/hx4700.c
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ static struct gpio hx4700_audio_gpios[] = {
{ GPIO92_HX4700_HP_DRIVER, GPIOF_OUT_INIT_LOW, "EP_POWER" },
};

static int __devinit hx4700_audio_probe(struct platform_device *pdev)
static int hx4700_audio_probe(struct platform_device *pdev)
{
int ret;

Expand All @@ -204,7 +204,7 @@ static int __devinit hx4700_audio_probe(struct platform_device *pdev)
return ret;
}

static int __devexit hx4700_audio_remove(struct platform_device *pdev)
static int hx4700_audio_remove(struct platform_device *pdev)
{
snd_soc_jack_free_gpios(&hs_jack, 1, &hs_jack_gpio);
snd_soc_unregister_card(&snd_soc_card_hx4700);
Expand All @@ -223,7 +223,7 @@ static struct platform_driver hx4700_audio_driver = {
.pm = &snd_soc_pm_ops,
},
.probe = hx4700_audio_probe,
.remove = __devexit_p(hx4700_audio_remove),
.remove = hx4700_audio_remove,
};

module_platform_driver(hx4700_audio_driver);
Expand Down

0 comments on commit d7f1be8

Please sign in to comment.