diff options
Diffstat (limited to 'drivers/hwmon/it87.c')
-rw-r--r-- | drivers/hwmon/it87.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/hwmon/it87.c b/drivers/hwmon/it87.c index f1de3979181f..d32aa354cbdf 100644 --- a/drivers/hwmon/it87.c +++ b/drivers/hwmon/it87.c | |||
@@ -428,7 +428,7 @@ static inline int has_old_autopwm(const struct it87_data *data) | |||
428 | } | 428 | } |
429 | 429 | ||
430 | static int it87_probe(struct platform_device *pdev); | 430 | static int it87_probe(struct platform_device *pdev); |
431 | static int __devexit it87_remove(struct platform_device *pdev); | 431 | static int it87_remove(struct platform_device *pdev); |
432 | 432 | ||
433 | static int it87_read_value(struct it87_data *data, u8 reg); | 433 | static int it87_read_value(struct it87_data *data, u8 reg); |
434 | static void it87_write_value(struct it87_data *data, u8 reg, u8 value); | 434 | static void it87_write_value(struct it87_data *data, u8 reg, u8 value); |
@@ -443,7 +443,7 @@ static struct platform_driver it87_driver = { | |||
443 | .name = DRVNAME, | 443 | .name = DRVNAME, |
444 | }, | 444 | }, |
445 | .probe = it87_probe, | 445 | .probe = it87_probe, |
446 | .remove = __devexit_p(it87_remove), | 446 | .remove = it87_remove, |
447 | }; | 447 | }; |
448 | 448 | ||
449 | static ssize_t show_in(struct device *dev, struct device_attribute *attr, | 449 | static ssize_t show_in(struct device *dev, struct device_attribute *attr, |
@@ -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 | ||
1969 | static int __devinit it87_probe(struct platform_device *pdev) | 1969 | static 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; |
@@ -2158,7 +2158,7 @@ error: | |||
2158 | return err; | 2158 | return err; |
2159 | } | 2159 | } |
2160 | 2160 | ||
2161 | static int __devexit it87_remove(struct platform_device *pdev) | 2161 | static int it87_remove(struct platform_device *pdev) |
2162 | { | 2162 | { |
2163 | struct it87_data *data = platform_get_drvdata(pdev); | 2163 | struct it87_data *data = platform_get_drvdata(pdev); |
2164 | 2164 | ||
@@ -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 */ |
2194 | static int __devinit it87_check_pwm(struct device *dev) | 2194 | static 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. */ |
2251 | static void __devinit it87_init_device(struct platform_device *pdev) | 2251 | static 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); |