diff options
author | 2015-04-16 12:43:36 -0700 | |
---|---|---|
committer | 2015-04-17 09:03:55 -0400 | |
commit | 0f3721c51ec5643e00f07dd3bbc5712c72fc62b2 (patch) | |
tree | 957cbf930cbde02454cb34afc46293f843a1e354 /lib | |
parent | hwmon: (ina2xx) replace ina226_avg_bits() with find_closest() (diff) | |
download | linux-rng-0f3721c51ec5643e00f07dd3bbc5712c72fc62b2.tar.xz linux-rng-0f3721c51ec5643e00f07dd3bbc5712c72fc62b2.zip |
hwmon: (lm85) use find_closest() in x_TO_REG() functions
Replace RANGE_TO_REG() and FREQ_TO_REG() implementations with
calls to find_closest().
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions