[PATCH 3.12 137/170] hwmon: (emc2103) Clamp limits instead of bailing out

2014-07-18 Thread Jiri Slaby
From: Guenter Roeck 3.12-stable review patch. If anyone has any objections, please let me know. === commit f6c2dd20108c35e30e2c1f3c6142d189451a626b upstream. It is customary to clamp limits instead of bailing out with an error if a configured limit is out of the range supported

[PATCH 3.12 137/170] hwmon: (emc2103) Clamp limits instead of bailing out

2014-07-18 Thread Jiri Slaby
From: Guenter Roeck li...@roeck-us.net 3.12-stable review patch. If anyone has any objections, please let me know. === commit f6c2dd20108c35e30e2c1f3c6142d189451a626b upstream. It is customary to clamp limits instead of bailing out with an error if a configured limit is out of the