diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-11-24 00:38:25 -0500 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-11-24 03:05:19 -0500 |
commit | 5298cc4cc753bbe4c530b41341834f6ef3344d0d (patch) | |
tree | 5dde0337622144b635a7dc199844ed5376794b09 /drivers/input/misc/sparcspkr.c | |
parent | 78f50c246f4286d40a1f42fecc779d47e40503a2 (diff) |
Input: remove use of __devinit
CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/misc/sparcspkr.c')
-rw-r--r-- | drivers/input/misc/sparcspkr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/input/misc/sparcspkr.c b/drivers/input/misc/sparcspkr.c index b9c870251f14..d0239b496399 100644 --- a/drivers/input/misc/sparcspkr.c +++ b/drivers/input/misc/sparcspkr.c | |||
@@ -139,7 +139,7 @@ static int grover_spkr_event(struct input_dev *dev, unsigned int type, unsigned | |||
139 | return 0; | 139 | return 0; |
140 | } | 140 | } |
141 | 141 | ||
142 | static int __devinit sparcspkr_probe(struct device *dev) | 142 | static int sparcspkr_probe(struct device *dev) |
143 | { | 143 | { |
144 | struct sparcspkr_state *state = dev_get_drvdata(dev); | 144 | struct sparcspkr_state *state = dev_get_drvdata(dev); |
145 | struct input_dev *input_dev; | 145 | struct input_dev *input_dev; |
@@ -182,7 +182,7 @@ static void sparcspkr_shutdown(struct platform_device *dev) | |||
182 | state->event(input_dev, EV_SND, SND_BELL, 0); | 182 | state->event(input_dev, EV_SND, SND_BELL, 0); |
183 | } | 183 | } |
184 | 184 | ||
185 | static int __devinit bbc_beep_probe(struct platform_device *op) | 185 | static int bbc_beep_probe(struct platform_device *op) |
186 | { | 186 | { |
187 | struct sparcspkr_state *state; | 187 | struct sparcspkr_state *state; |
188 | struct bbc_beep_info *info; | 188 | struct bbc_beep_info *info; |
@@ -267,7 +267,7 @@ static struct platform_driver bbc_beep_driver = { | |||
267 | .shutdown = sparcspkr_shutdown, | 267 | .shutdown = sparcspkr_shutdown, |
268 | }; | 268 | }; |
269 | 269 | ||
270 | static int __devinit grover_beep_probe(struct platform_device *op) | 270 | static int grover_beep_probe(struct platform_device *op) |
271 | { | 271 | { |
272 | struct sparcspkr_state *state; | 272 | struct sparcspkr_state *state; |
273 | struct grover_beep_info *info; | 273 | struct grover_beep_info *info; |