aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon')
-rw-r--r--drivers/hwmon/asb100.c2
-rw-r--r--drivers/hwmon/lm78.c2
-rw-r--r--drivers/hwmon/lm80.c2
-rw-r--r--drivers/hwmon/lm87.c2
-rw-r--r--drivers/hwmon/sis5595.c2
-rw-r--r--drivers/hwmon/smsc47m1.c2
-rw-r--r--drivers/hwmon/w83627hf.c2
-rw-r--r--drivers/hwmon/w83781d.c2
-rw-r--r--drivers/hwmon/w83792d.c2
9 files changed, 9 insertions, 9 deletions
diff --git a/drivers/hwmon/asb100.c b/drivers/hwmon/asb100.c
index 65b2709f750c..facc1ccb8338 100644
--- a/drivers/hwmon/asb100.c
+++ b/drivers/hwmon/asb100.c
@@ -341,7 +341,7 @@ static ssize_t set_fan_min(struct device *dev, const char *buf,
341 341
342/* Note: we save and restore the fan minimum here, because its value is 342/* Note: we save and restore the fan minimum here, because its value is
343 determined in part by the fan divisor. This follows the principle of 343 determined in part by the fan divisor. This follows the principle of
344 least suprise; the user doesn't expect the fan minimum to change just 344 least surprise; the user doesn't expect the fan minimum to change just
345 because the divisor changed. */ 345 because the divisor changed. */
346static ssize_t set_fan_div(struct device *dev, const char *buf, 346static ssize_t set_fan_div(struct device *dev, const char *buf,
347 size_t count, int nr) 347 size_t count, int nr)
diff --git a/drivers/hwmon/lm78.c b/drivers/hwmon/lm78.c
index 94be3d797e61..a6ce7abf8602 100644
--- a/drivers/hwmon/lm78.c
+++ b/drivers/hwmon/lm78.c
@@ -358,7 +358,7 @@ static ssize_t show_fan_div(struct device *dev, char *buf, int nr)
358 358
359/* Note: we save and restore the fan minimum here, because its value is 359/* Note: we save and restore the fan minimum here, because its value is
360 determined in part by the fan divisor. This follows the principle of 360 determined in part by the fan divisor. This follows the principle of
361 least suprise; the user doesn't expect the fan minimum to change just 361 least surprise; the user doesn't expect the fan minimum to change just
362 because the divisor changed. */ 362 because the divisor changed. */
363static ssize_t set_fan_div(struct device *dev, const char *buf, 363static ssize_t set_fan_div(struct device *dev, const char *buf,
364 size_t count, int nr) 364 size_t count, int nr)
diff --git a/drivers/hwmon/lm80.c b/drivers/hwmon/lm80.c
index f72120d08c4c..b4ccdfc01203 100644
--- a/drivers/hwmon/lm80.c
+++ b/drivers/hwmon/lm80.c
@@ -253,7 +253,7 @@ set_fan(min2, fan_min[1], LM80_REG_FAN_MIN(2), fan_div[1]);
253 253
254/* Note: we save and restore the fan minimum here, because its value is 254/* Note: we save and restore the fan minimum here, because its value is
255 determined in part by the fan divisor. This follows the principle of 255 determined in part by the fan divisor. This follows the principle of
256 least suprise; the user doesn't expect the fan minimum to change just 256 least surprise; the user doesn't expect the fan minimum to change just
257 because the divisor changed. */ 257 because the divisor changed. */
258static ssize_t set_fan_div(struct device *dev, const char *buf, 258static ssize_t set_fan_div(struct device *dev, const char *buf,
259 size_t count, int nr) 259 size_t count, int nr)
diff --git a/drivers/hwmon/lm87.c b/drivers/hwmon/lm87.c
index e229daf666de..e6c1b638c971 100644
--- a/drivers/hwmon/lm87.c
+++ b/drivers/hwmon/lm87.c
@@ -421,7 +421,7 @@ static void set_fan_min(struct device *dev, const char *buf, int nr)
421 421
422/* Note: we save and restore the fan minimum here, because its value is 422/* Note: we save and restore the fan minimum here, because its value is
423 determined in part by the fan clock divider. This follows the principle 423 determined in part by the fan clock divider. This follows the principle
424 of least suprise; the user doesn't expect the fan minimum to change just 424 of least surprise; the user doesn't expect the fan minimum to change just
425 because the divider changed. */ 425 because the divider changed. */
426static ssize_t set_fan_div(struct device *dev, const char *buf, 426static ssize_t set_fan_div(struct device *dev, const char *buf,
427 size_t count, int nr) 427 size_t count, int nr)
diff --git a/drivers/hwmon/sis5595.c b/drivers/hwmon/sis5595.c
index 6f3fda73f70c..063f71c5f07e 100644
--- a/drivers/hwmon/sis5595.c
+++ b/drivers/hwmon/sis5595.c
@@ -380,7 +380,7 @@ static ssize_t show_fan_div(struct device *dev, char *buf, int nr)
380 380
381/* Note: we save and restore the fan minimum here, because its value is 381/* Note: we save and restore the fan minimum here, because its value is
382 determined in part by the fan divisor. This follows the principle of 382 determined in part by the fan divisor. This follows the principle of
383 least suprise; the user doesn't expect the fan minimum to change just 383 least surprise; the user doesn't expect the fan minimum to change just
384 because the divisor changed. */ 384 because the divisor changed. */
385static ssize_t set_fan_div(struct device *dev, const char *buf, 385static ssize_t set_fan_div(struct device *dev, const char *buf,
386 size_t count, int nr) 386 size_t count, int nr)
diff --git a/drivers/hwmon/smsc47m1.c b/drivers/hwmon/smsc47m1.c
index 7732aec54594..825e8f72698f 100644
--- a/drivers/hwmon/smsc47m1.c
+++ b/drivers/hwmon/smsc47m1.c
@@ -207,7 +207,7 @@ static ssize_t set_fan_min(struct device *dev, const char *buf,
207 207
208/* Note: we save and restore the fan minimum here, because its value is 208/* Note: we save and restore the fan minimum here, because its value is
209 determined in part by the fan clock divider. This follows the principle 209 determined in part by the fan clock divider. This follows the principle
210 of least suprise; the user doesn't expect the fan minimum to change just 210 of least surprise; the user doesn't expect the fan minimum to change just
211 because the divider changed. */ 211 because the divider changed. */
212static ssize_t set_fan_div(struct device *dev, const char *buf, 212static ssize_t set_fan_div(struct device *dev, const char *buf,
213 size_t count, int nr) 213 size_t count, int nr)
diff --git a/drivers/hwmon/w83627hf.c b/drivers/hwmon/w83627hf.c
index 71fb7f1af8f5..79368d53c363 100644
--- a/drivers/hwmon/w83627hf.c
+++ b/drivers/hwmon/w83627hf.c
@@ -781,7 +781,7 @@ show_fan_div_reg(struct device *dev, char *buf, int nr)
781 781
782/* Note: we save and restore the fan minimum here, because its value is 782/* Note: we save and restore the fan minimum here, because its value is
783 determined in part by the fan divisor. This follows the principle of 783 determined in part by the fan divisor. This follows the principle of
784 least suprise; the user doesn't expect the fan minimum to change just 784 least surprise; the user doesn't expect the fan minimum to change just
785 because the divisor changed. */ 785 because the divisor changed. */
786static ssize_t 786static ssize_t
787store_fan_div_reg(struct device *dev, const char *buf, size_t count, int nr) 787store_fan_div_reg(struct device *dev, const char *buf, size_t count, int nr)
diff --git a/drivers/hwmon/w83781d.c b/drivers/hwmon/w83781d.c
index e4c700356c44..7be469ed0f8f 100644
--- a/drivers/hwmon/w83781d.c
+++ b/drivers/hwmon/w83781d.c
@@ -630,7 +630,7 @@ show_fan_div_reg(struct device *dev, char *buf, int nr)
630 630
631/* Note: we save and restore the fan minimum here, because its value is 631/* Note: we save and restore the fan minimum here, because its value is
632 determined in part by the fan divisor. This follows the principle of 632 determined in part by the fan divisor. This follows the principle of
633 least suprise; the user doesn't expect the fan minimum to change just 633 least surprise; the user doesn't expect the fan minimum to change just
634 because the divisor changed. */ 634 because the divisor changed. */
635static ssize_t 635static ssize_t
636store_fan_div_reg(struct device *dev, const char *buf, size_t count, int nr) 636store_fan_div_reg(struct device *dev, const char *buf, size_t count, int nr)
diff --git a/drivers/hwmon/w83792d.c b/drivers/hwmon/w83792d.c
index 4ef884c216e2..e407c74bda35 100644
--- a/drivers/hwmon/w83792d.c
+++ b/drivers/hwmon/w83792d.c
@@ -463,7 +463,7 @@ show_fan_div(struct device *dev, struct device_attribute *attr,
463 463
464/* Note: we save and restore the fan minimum here, because its value is 464/* Note: we save and restore the fan minimum here, because its value is
465 determined in part by the fan divisor. This follows the principle of 465 determined in part by the fan divisor. This follows the principle of
466 least suprise; the user doesn't expect the fan minimum to change just 466 least surprise; the user doesn't expect the fan minimum to change just
467 because the divisor changed. */ 467 because the divisor changed. */
468static ssize_t 468static ssize_t
469store_fan_div(struct device *dev, struct device_attribute *attr, 469store_fan_div(struct device *dev, struct device_attribute *attr,