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