diff options
author | Guenter Roeck <linux@roeck-us.net> | 2013-01-09 08:12:46 -0800 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2013-01-25 21:03:54 -0800 |
commit | c25fb816298138a4b12c606f0aaa018bdd3cc09c (patch) | |
tree | 5a81dfb83d2974412e7133bba23cf39c80677127 /include/linux/hwmon.h | |
parent | c73bad746cad97e438ccd148705907f20697288a (diff) | |
download | linux-stable-c25fb816298138a4b12c606f0aaa018bdd3cc09c.tar.gz linux-stable-c25fb816298138a4b12c606f0aaa018bdd3cc09c.tar.bz2 linux-stable-c25fb816298138a4b12c606f0aaa018bdd3cc09c.zip |
hwmon: Retire SENSORS_LIMIT
SENSORS_LIMIT and clamp_val have the same functionality, so retire SENSORS_LIMIT
as it is no longer needed.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'include/linux/hwmon.h')
-rw-r--r-- | include/linux/hwmon.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/linux/hwmon.h b/include/linux/hwmon.h index 82b29ae6ebb0..b2514f70d591 100644 --- a/include/linux/hwmon.h +++ b/include/linux/hwmon.h @@ -20,16 +20,4 @@ struct device *hwmon_device_register(struct device *dev); void hwmon_device_unregister(struct device *dev); -/* Scale user input to sensible values */ -static inline int SENSORS_LIMIT(long value, long low, long high) -{ - if (value < low) - return low; - else if (value > high) - return high; - else - return value; -} - #endif - |