On Tue, Mar 10 2015, Bartosz Golaszewski wrote:
> Replace RANGE_TO_REG() and FREQ_TO_REG() functions with calls
> to find_closest().
>
I think the other functions you've replaced only had a single caller,
but RANGE_TO_REG is called in two places. It's not a huge function and 2
is not a big numbe
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 b/drivers/hwmon/lm85
2 matches
Mail list logo