commit | e4651640403307d79559dff113da4933c0921714 | [log] [tgz] |
---|---|---|
author | Chris Packham <chris.packham@alliedtelesis.co.nz> | Thu May 11 15:45:21 2017 +1200 |
committer | Guenter Roeck <linux@roeck-us.net> | Sun Jun 11 17:08:19 2017 -0700 |
tree | 663ebc8e73643023527477dffa05b45a5d9b97f9 | |
parent | 8991ebd9c9a69dcc03f5a961718a7a3184c1295d [diff] |
hwmon: (adt7475) replace find_nearest() with find_closest() The adt7475 has had find_nearest() since it's creation in 2009. Since then find_closest() has been introduced and several drivers have been updated to use it. Update the adt7475 to use find_closest() and remove the now unused find_nearest(). Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz> Signed-off-by: Guenter Roeck <linux@roeck-us.net>