Re: [RESEND PATCH 3/4] hwmon: (lm85) replace x_TO_REG() functions with find_closest()

2015-02-24 Thread Guenter Roeck
On Tue, Feb 24, 2015 at 06:48:28PM +0100, Bartosz Golaszewski wrote: > Replace RANGE_TO_REG() and FREQ_TO_REG() functions with calls > to find_closest(). > > Signed-off-by: Bartosz Golaszewski > --- > drivers/hwmon/lm85.c | 43 --- > 1 file changed, 12

[RESEND PATCH 3/4] hwmon: (lm85) replace x_TO_REG() functions with find_closest()

2015-02-24 Thread Bartosz Golaszewski
Replace RANGE_TO_REG() and FREQ_TO_REG() functions with calls to find_closest(). Signed-off-by: Bartosz Golaszewski --- drivers/hwmon/lm85.c | 43 --- 1 file changed, 12 insertions(+), 31 deletions(-) diff --git a/drivers/hwmon/lm85.c

Re: [RESEND PATCH 3/4] hwmon: (lm85) replace x_TO_REG() functions with find_closest()

2015-02-24 Thread Guenter Roeck
On Tue, Feb 24, 2015 at 06:48:28PM +0100, Bartosz Golaszewski wrote: Replace RANGE_TO_REG() and FREQ_TO_REG() functions with calls to find_closest(). Signed-off-by: Bartosz Golaszewski bgolaszew...@baylibre.com --- drivers/hwmon/lm85.c | 43 --- 1

[RESEND PATCH 3/4] hwmon: (lm85) replace x_TO_REG() functions with find_closest()

2015-02-24 Thread Bartosz Golaszewski
Replace RANGE_TO_REG() and FREQ_TO_REG() functions with calls to find_closest(). Signed-off-by: Bartosz Golaszewski bgolaszew...@baylibre.com --- drivers/hwmon/lm85.c | 43 --- 1 file changed, 12 insertions(+), 31 deletions(-) diff --git