aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/f71882fg.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/f71882fg.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/f71882fg.c')
-rw-r--r--drivers/hwmon/f71882fg.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/hwmon/f71882fg.c b/drivers/hwmon/f71882fg.c
index 50e4ce2d22d8..bb7275cc47f3 100644
--- a/drivers/hwmon/f71882fg.c
+++ b/drivers/hwmon/f71882fg.c
@@ -364,7 +364,7 @@ static ssize_t store_pwm_auto_point_temp(struct device *dev,
364static ssize_t show_name(struct device *dev, struct device_attribute *devattr, 364static ssize_t show_name(struct device *dev, struct device_attribute *devattr,
365 char *buf); 365 char *buf);
366 366
367static int __devinit f71882fg_probe(struct platform_device *pdev); 367static int f71882fg_probe(struct platform_device *pdev);
368static int f71882fg_remove(struct platform_device *pdev); 368static int f71882fg_remove(struct platform_device *pdev);
369 369
370static struct platform_driver f71882fg_driver = { 370static struct platform_driver f71882fg_driver = {
@@ -2145,7 +2145,7 @@ static ssize_t show_name(struct device *dev, struct device_attribute *devattr,
2145 return sprintf(buf, "%s\n", f71882fg_names[data->type]); 2145 return sprintf(buf, "%s\n", f71882fg_names[data->type]);
2146} 2146}
2147 2147
2148static int __devinit f71882fg_create_sysfs_files(struct platform_device *pdev, 2148static int f71882fg_create_sysfs_files(struct platform_device *pdev,
2149 struct sensor_device_attribute_2 *attr, int count) 2149 struct sensor_device_attribute_2 *attr, int count)
2150{ 2150{
2151 int err, i; 2151 int err, i;
@@ -2167,7 +2167,7 @@ static void f71882fg_remove_sysfs_files(struct platform_device *pdev,
2167 device_remove_file(&pdev->dev, &attr[i].dev_attr); 2167 device_remove_file(&pdev->dev, &attr[i].dev_attr);
2168} 2168}
2169 2169
2170static int __devinit f71882fg_create_fan_sysfs_files( 2170static int f71882fg_create_fan_sysfs_files(
2171 struct platform_device *pdev, int idx) 2171 struct platform_device *pdev, int idx)
2172{ 2172{
2173 struct f71882fg_data *data = platform_get_drvdata(pdev); 2173 struct f71882fg_data *data = platform_get_drvdata(pdev);
@@ -2265,7 +2265,7 @@ static int __devinit f71882fg_create_fan_sysfs_files(
2265 return err; 2265 return err;
2266} 2266}
2267 2267
2268static int __devinit f71882fg_probe(struct platform_device *pdev) 2268static int f71882fg_probe(struct platform_device *pdev)
2269{ 2269{
2270 struct f71882fg_data *data; 2270 struct f71882fg_data *data;
2271 struct f71882fg_sio_data *sio_data = pdev->dev.platform_data; 2271 struct f71882fg_sio_data *sio_data = pdev->dev.platform_data;