projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target...
[deliverable/linux.git]
/
drivers
/
hwmon
/
ad7414.c
diff --git
a/drivers/hwmon/ad7414.c
b/drivers/hwmon/ad7414.c
index f3a5d4764eb95be740066d7aaf94ea2a5db3c0a2..5d501adc3e54b3c477ffe125319e6473bdf10467 100644
(file)
--- a/
drivers/hwmon/ad7414.c
+++ b/
drivers/hwmon/ad7414.c
@@
-137,7
+137,7
@@
static ssize_t set_max_min(struct device *dev,
if (ret < 0)
return ret;
- temp =
SENSORS_LIMIT
(temp, -40000, 85000);
+ temp =
clamp_val
(temp, -40000, 85000);
temp = (temp + (temp < 0 ? -500 : 500)) / 1000;
mutex_lock(&data->lock);
This page took
0.033392 seconds
and
5
git commands to generate.