diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-11-19 13:22:35 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-28 14:49:40 -0500 |
commit | 6c931ae1c09a9618852c9619dac71f1f77776e3b (patch) | |
tree | 2bf3ef58b8c122aa9714576f6b07b71948d9d1c7 /drivers/hwmon/max1111.c | |
parent | 9e5e9b7a92e4e2e4ac1f0d6aa181639637660e45 (diff) |
hwmon: 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: Hans de Goede <hdegoede@redhat.com>
Cc: Jean Delvare <khali@linux-fr.org>
Cc: Alistair John Strachan <alistair@devzero.co.uk>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: Juerg Haefliger <juergh@gmail.com>
Cc: Andreas Herrmann <herrmann.der.user@googlemail.com>
Cc: Clemens Ladisch <clemens@ladisch.de>
Cc: Rudolf Marek <r.marek@assembler.cz>
Cc: Jim Cromie <jim.cromie@gmail.com>
Cc: "Mark M. Hoffman" <mhoffman@lightlink.com>
Cc: Roger Lucas <vt8231@hiddenengine.co.uk>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwmon/max1111.c')
-rw-r--r-- | drivers/hwmon/max1111.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hwmon/max1111.c b/drivers/hwmon/max1111.c index 5ac15b07dc60..410351bcc3e3 100644 --- a/drivers/hwmon/max1111.c +++ b/drivers/hwmon/max1111.c | |||
@@ -157,7 +157,7 @@ static const struct attribute_group max1110_attr_group = { | |||
157 | .attrs = max1110_attributes, | 157 | .attrs = max1110_attributes, |
158 | }; | 158 | }; |
159 | 159 | ||
160 | static int __devinit setup_transfer(struct max1111_data *data) | 160 | static int setup_transfer(struct max1111_data *data) |
161 | { | 161 | { |
162 | struct spi_message *m; | 162 | struct spi_message *m; |
163 | struct spi_transfer *x; | 163 | struct spi_transfer *x; |
@@ -179,7 +179,7 @@ static int __devinit setup_transfer(struct max1111_data *data) | |||
179 | return 0; | 179 | return 0; |
180 | } | 180 | } |
181 | 181 | ||
182 | static int __devinit max1111_probe(struct spi_device *spi) | 182 | static int max1111_probe(struct spi_device *spi) |
183 | { | 183 | { |
184 | enum chips chip = spi_get_device_id(spi)->driver_data; | 184 | enum chips chip = spi_get_device_id(spi)->driver_data; |
185 | struct max1111_data *data; | 185 | struct max1111_data *data; |