summaryrefslogtreecommitdiff
path: root/include/linux/hwmon-vid.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/hwmon-vid.h')
-rw-r--r--include/linux/hwmon-vid.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/hwmon-vid.h b/include/linux/hwmon-vid.h
index da0a680..f346e4d 100644
--- a/include/linux/hwmon-vid.h
+++ b/include/linux/hwmon-vid.h
@@ -38,7 +38,7 @@ static inline int vid_to_reg(int val, u8 vrm)
return ((val >= 1100) && (val <= 1850) ?
((18499 - val * 10) / 25 + 5) / 10 : -1);
default:
- return -EINVAL;
+ return -1;
}
}