diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-21 16:18:33 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-03 18:57:03 -0500 |
commit | b859f15921321b7bf4cb4cf188e31a6a25d2dff3 (patch) | |
tree | 551312f637cc2c27959f89742b1ee28baa4a46c7 /drivers/platform/x86/thinkpad_acpi.c | |
parent | 4c62e9764ab403d42f9b8871b1241fe7812f19d4 (diff) |
Drivers: platform: x86: remove __dev* attributes.
CONFIG_HOTPLUG is going away as an option. As a result, the __dev*
markings need to be removed.
This change removes the use of __devinit, __devexit_p, __devinitdata,
__devinitconst, and __devexit from these drivers.
Based on patches originally written by Bill Pemberton, but redone by me
in order to handle some of the coding style issues better, by hand.
Cc: Bill Pemberton <wfp5p@virginia.edu>
Cc: Joey Lee <jlee@novell.com>
Cc: Matthew Garrett <mjg@redhat.com>
Cc: Peter Feuerer <peter@piie.net>
Cc: Corentin Chary <corentin.chary@gmail.com>
Cc: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Cc: Robert Gerlach <khnz@gmx.de>
Cc: Ike Panhc <ike.pan@canonical.com>
Cc: Henrique de Moraes Holschuh <ibm-acpi@hmh.eng.br>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/platform/x86/thinkpad_acpi.c')
-rw-r--r-- | drivers/platform/x86/thinkpad_acpi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c index 75dd651664ae..f946ca7cb762 100644 --- a/drivers/platform/x86/thinkpad_acpi.c +++ b/drivers/platform/x86/thinkpad_acpi.c | |||
@@ -6732,7 +6732,7 @@ static int volume_alsa_mute_put(struct snd_kcontrol *kcontrol, | |||
6732 | return volume_alsa_set_mute(!ucontrol->value.integer.value[0]); | 6732 | return volume_alsa_set_mute(!ucontrol->value.integer.value[0]); |
6733 | } | 6733 | } |
6734 | 6734 | ||
6735 | static struct snd_kcontrol_new volume_alsa_control_vol __devinitdata = { | 6735 | static struct snd_kcontrol_new volume_alsa_control_vol = { |
6736 | .iface = SNDRV_CTL_ELEM_IFACE_MIXER, | 6736 | .iface = SNDRV_CTL_ELEM_IFACE_MIXER, |
6737 | .name = "Console Playback Volume", | 6737 | .name = "Console Playback Volume", |
6738 | .index = 0, | 6738 | .index = 0, |
@@ -6741,7 +6741,7 @@ static struct snd_kcontrol_new volume_alsa_control_vol __devinitdata = { | |||
6741 | .get = volume_alsa_vol_get, | 6741 | .get = volume_alsa_vol_get, |
6742 | }; | 6742 | }; |
6743 | 6743 | ||
6744 | static struct snd_kcontrol_new volume_alsa_control_mute __devinitdata = { | 6744 | static struct snd_kcontrol_new volume_alsa_control_mute = { |
6745 | .iface = SNDRV_CTL_ELEM_IFACE_MIXER, | 6745 | .iface = SNDRV_CTL_ELEM_IFACE_MIXER, |
6746 | .name = "Console Playback Switch", | 6746 | .name = "Console Playback Switch", |
6747 | .index = 0, | 6747 | .index = 0, |