aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/abituguru.c
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-11-19 13:22:35 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-28 14:49:40 -0500
commit6c931ae1c09a9618852c9619dac71f1f77776e3b (patch)
tree2bf3ef58b8c122aa9714576f6b07b71948d9d1c7 /drivers/hwmon/abituguru.c
parent9e5e9b7a92e4e2e4ac1f0d6aa181639637660e45 (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/abituguru.c')
-rw-r--r--drivers/hwmon/abituguru.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/hwmon/abituguru.c b/drivers/hwmon/abituguru.c
index d12c3fb25fa..700d5e0442e 100644
--- a/drivers/hwmon/abituguru.c
+++ b/drivers/hwmon/abituguru.c
@@ -478,7 +478,7 @@ static int abituguru_write(struct abituguru_data *data,
478 * alarm for sensor type X and then enabling the sensor as sensor type 478 * alarm for sensor type X and then enabling the sensor as sensor type
479 * X, if we then get an alarm it is a sensor of type X. 479 * X, if we then get an alarm it is a sensor of type X.
480 */ 480 */
481static int __devinit 481static int
482abituguru_detect_bank1_sensor_type(struct abituguru_data *data, 482abituguru_detect_bank1_sensor_type(struct abituguru_data *data,
483 u8 sensor_addr) 483 u8 sensor_addr)
484{ 484{
@@ -635,7 +635,7 @@ abituguru_detect_bank1_sensor_type_exit:
635 * read/write test would be feasible because of the reaction above, I've 635 * read/write test would be feasible because of the reaction above, I've
636 * however opted to stay on the safe side. 636 * however opted to stay on the safe side.
637 */ 637 */
638static void __devinit 638static void
639abituguru_detect_no_bank2_sensors(struct abituguru_data *data) 639abituguru_detect_no_bank2_sensors(struct abituguru_data *data)
640{ 640{
641 int i; 641 int i;
@@ -691,7 +691,7 @@ abituguru_detect_no_bank2_sensors(struct abituguru_data *data)
691 (int)data->bank2_sensors); 691 (int)data->bank2_sensors);
692} 692}
693 693
694static void __devinit 694static void
695abituguru_detect_no_pwms(struct abituguru_data *data) 695abituguru_detect_no_pwms(struct abituguru_data *data)
696{ 696{
697 int i, j; 697 int i, j;
@@ -1264,7 +1264,7 @@ static struct sensor_device_attribute_2 abituguru_sysfs_attr[] = {
1264 SENSOR_ATTR_2(name, 0444, show_name, NULL, 0, 0), 1264 SENSOR_ATTR_2(name, 0444, show_name, NULL, 0, 0),
1265}; 1265};
1266 1266
1267static int __devinit abituguru_probe(struct platform_device *pdev) 1267static int abituguru_probe(struct platform_device *pdev)
1268{ 1268{
1269 struct abituguru_data *data; 1269 struct abituguru_data *data;
1270 int i, j, used, sysfs_names_free, sysfs_attr_i, res = -ENODEV; 1270 int i, j, used, sysfs_names_free, sysfs_attr_i, res = -ENODEV;