summaryrefslogtreecommitdiffstats
path: root/lib/vsprintf.c
diff options
context:
space:
mode:
authorBartosz Golaszewski2015-04-16 21:43:39 +0200
committerLinus Torvalds2015-04-17 15:03:55 +0200
commitcdb1dc3f1ca5c5899e5fa186afe20390bd8c00dc (patch)
tree3f5f68cd7ecb9b1b1d8e47c62681f2c5c30b277b /lib/vsprintf.c
parenthwmon: (lm85) use find_closest() in x_TO_REG() functions (diff)
downloadkernel-qcow2-linux-cdb1dc3f1ca5c5899e5fa186afe20390bd8c00dc.tar.gz
kernel-qcow2-linux-cdb1dc3f1ca5c5899e5fa186afe20390bd8c00dc.tar.xz
kernel-qcow2-linux-cdb1dc3f1ca5c5899e5fa186afe20390bd8c00dc.zip
hwmon: (w83795) use find_closest_descending() in pwm_freq_to_reg()
Replace the loop iterating over pwm_freq_cksel0 with a call to find_closest_descending(). 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/vsprintf.c')
0 files changed, 0 insertions, 0 deletions