From: Bartosz Golaszewski Date: Thu, 16 Apr 2015 19:43:39 +0000 (-0700) Subject: hwmon: (w83795) use find_closest_descending() in pwm_freq_to_reg() X-Git-Tag: omap-for-v4.1/fixes-rc1~115^2~127 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdb1dc3f1ca5c5899e5fa186afe20390bd8c00dc;p=pandora-kernel.git 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 Cc: Guenter Roeck Cc: Steven Rostedt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed