diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-11-19 13:23:05 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-21 15:51:53 -0500 |
commit | 80c8ae289266529445fad030fabf5fcf01ccda0d (patch) | |
tree | eba9aed6018d314a492eea1e00f03e5de83a2665 /drivers/misc/lis3lv02d | |
parent | 2d6bed9ca93e98685bc5038d686984fd449cd978 (diff) |
misc: 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>
Cc: "Michał Mirosław" <mirq-linux@rere.qmqm.pl>
Cc: Eric Piel <eric.piel@tremplin-utc.net>
Cc: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/lis3lv02d')
-rw-r--r-- | drivers/misc/lis3lv02d/lis3lv02d_i2c.c | 2 | ||||
-rw-r--r-- | drivers/misc/lis3lv02d/lis3lv02d_spi.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/lis3lv02d/lis3lv02d_i2c.c b/drivers/misc/lis3lv02d/lis3lv02d_i2c.c index 403804c86127..66f0483efb03 100644 --- a/drivers/misc/lis3lv02d/lis3lv02d_i2c.c +++ b/drivers/misc/lis3lv02d/lis3lv02d_i2c.c | |||
@@ -114,7 +114,7 @@ static struct of_device_id lis3lv02d_i2c_dt_ids[] = { | |||
114 | MODULE_DEVICE_TABLE(of, lis3lv02d_i2c_dt_ids); | 114 | MODULE_DEVICE_TABLE(of, lis3lv02d_i2c_dt_ids); |
115 | #endif | 115 | #endif |
116 | 116 | ||
117 | static int __devinit lis3lv02d_i2c_probe(struct i2c_client *client, | 117 | static int lis3lv02d_i2c_probe(struct i2c_client *client, |
118 | const struct i2c_device_id *id) | 118 | const struct i2c_device_id *id) |
119 | { | 119 | { |
120 | int ret = 0; | 120 | int ret = 0; |
diff --git a/drivers/misc/lis3lv02d/lis3lv02d_spi.c b/drivers/misc/lis3lv02d/lis3lv02d_spi.c index 0e415c31e035..66a751d2ed53 100644 --- a/drivers/misc/lis3lv02d/lis3lv02d_spi.c +++ b/drivers/misc/lis3lv02d/lis3lv02d_spi.c | |||
@@ -69,7 +69,7 @@ static struct of_device_id lis302dl_spi_dt_ids[] = { | |||
69 | MODULE_DEVICE_TABLE(of, lis302dl_spi_dt_ids); | 69 | MODULE_DEVICE_TABLE(of, lis302dl_spi_dt_ids); |
70 | #endif | 70 | #endif |
71 | 71 | ||
72 | static int __devinit lis302dl_spi_probe(struct spi_device *spi) | 72 | static int lis302dl_spi_probe(struct spi_device *spi) |
73 | { | 73 | { |
74 | int ret; | 74 | int ret; |
75 | 75 | ||