Skip to content

Commit d9244b5

Browse files
committed
Merge branch 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging
* 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging: hwmon: Update documentation on fan_max hwmon: (lm78) Add missing __devexit_p()
2 parents 65039a3 + d54d462 commit d9244b5

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

‎Documentation/hwmon/sysfs-interface‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,11 @@ fan[1-*]_min Fan minimum value
150150
Unit: revolution/min (RPM)
151151
RW
152152

153+
fan[1-*]_max Fan maximum value
154+
Unit: revolution/min (RPM)
155+
Only rarely supported by the hardware.
156+
RW
157+
153158
fan[1-*]_input Fan input value.
154159
Unit: revolution/min (RPM)
155160
RO
@@ -390,6 +395,7 @@ OR
390395
in[0-*]_min_alarm
391396
in[0-*]_max_alarm
392397
fan[1-*]_min_alarm
398+
fan[1-*]_max_alarm
393399
temp[1-*]_min_alarm
394400
temp[1-*]_max_alarm
395401
temp[1-*]_crit_alarm

‎drivers/hwmon/lm78.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ static struct platform_driver lm78_isa_driver = {
182182
.name = "lm78",
183183
},
184184
.probe = lm78_isa_probe,
185-
.remove = lm78_isa_remove,
185+
.remove = __devexit_p(lm78_isa_remove),
186186
};
187187

188188

0 commit comments

Comments
 (0)