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/mpu3050.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/mpu3050.c')
-rw-r--r-- | drivers/input/misc/mpu3050.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/misc/mpu3050.c b/drivers/input/misc/mpu3050.c index ab114092b9a9..ff600565654e 100644 --- a/drivers/input/misc/mpu3050.c +++ b/drivers/input/misc/mpu3050.c | |||
@@ -257,7 +257,7 @@ static irqreturn_t mpu3050_interrupt_thread(int irq, void *data) | |||
257 | * | 257 | * |
258 | * Called during device probe; configures the sampling method. | 258 | * Called during device probe; configures the sampling method. |
259 | */ | 259 | */ |
260 | static int __devinit mpu3050_hw_init(struct mpu3050_sensor *sensor) | 260 | static int mpu3050_hw_init(struct mpu3050_sensor *sensor) |
261 | { | 261 | { |
262 | struct i2c_client *client = sensor->client; | 262 | struct i2c_client *client = sensor->client; |
263 | int ret; | 263 | int ret; |
@@ -306,7 +306,7 @@ static int __devinit mpu3050_hw_init(struct mpu3050_sensor *sensor) | |||
306 | * | 306 | * |
307 | * If present install the relevant sysfs interfaces and input device. | 307 | * If present install the relevant sysfs interfaces and input device. |
308 | */ | 308 | */ |
309 | static int __devinit mpu3050_probe(struct i2c_client *client, | 309 | static int mpu3050_probe(struct i2c_client *client, |
310 | const struct i2c_device_id *id) | 310 | const struct i2c_device_id *id) |
311 | { | 311 | { |
312 | struct mpu3050_sensor *sensor; | 312 | struct mpu3050_sensor *sensor; |