aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/f71882fg.c
diff options
context:
space:
mode:
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;