diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2015-04-16 12:43:34 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-17 09:03:54 -0400 |
commit | d38df34e3f0ea1e65c7db5d33d132dc14da0009a (patch) | |
tree | caa8aef32e6160ea46bb99f9ecec04bd51bd97ae /drivers/ata/pata_cs5536.c | |
parent | f2027543b9cb47e1853d8c34fe931e2fcee5cb65 (diff) |
hwmon: (ina2xx) replace ina226_avg_bits() with find_closest()
Use find_closest() to locate the closest average in ina226_avg_tab.
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 'drivers/ata/pata_cs5536.c')
0 files changed, 0 insertions, 0 deletions