aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/it87.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/it87.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/it87.c')
-rw-r--r--drivers/hwmon/it87.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/hwmon/it87.c b/drivers/hwmon/it87.c
index 2cb0da1190c7..3a4da44f704f 100644
--- a/drivers/hwmon/it87.c
+++ b/drivers/hwmon/it87.c
@@ -1966,7 +1966,7 @@ static void it87_remove_files(struct device *dev)
1966 sysfs_remove_group(&dev->kobj, &it87_group_label); 1966 sysfs_remove_group(&dev->kobj, &it87_group_label);
1967} 1967}
1968 1968
1969static int __devinit it87_probe(struct platform_device *pdev) 1969static int it87_probe(struct platform_device *pdev)
1970{ 1970{
1971 struct it87_data *data; 1971 struct it87_data *data;
1972 struct resource *res; 1972 struct resource *res;
@@ -2191,7 +2191,7 @@ static void it87_write_value(struct it87_data *data, u8 reg, u8 value)
2191} 2191}
2192 2192
2193/* Return 1 if and only if the PWM interface is safe to use */ 2193/* Return 1 if and only if the PWM interface is safe to use */
2194static int __devinit it87_check_pwm(struct device *dev) 2194static int it87_check_pwm(struct device *dev)
2195{ 2195{
2196 struct it87_data *data = dev_get_drvdata(dev); 2196 struct it87_data *data = dev_get_drvdata(dev);
2197 /* 2197 /*
@@ -2248,7 +2248,7 @@ static int __devinit it87_check_pwm(struct device *dev)
2248} 2248}
2249 2249
2250/* Called when we have found a new IT87. */ 2250/* Called when we have found a new IT87. */
2251static void __devinit it87_init_device(struct platform_device *pdev) 2251static void it87_init_device(struct platform_device *pdev)
2252{ 2252{
2253 struct it87_sio_data *sio_data = pdev->dev.platform_data; 2253 struct it87_sio_data *sio_data = pdev->dev.platform_data;
2254 struct it87_data *data = platform_get_drvdata(pdev); 2254 struct it87_data *data = platform_get_drvdata(pdev);