On Tue, Mar 10 2015, Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx> 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 number, but maybe it's better to let gcc decide whether to inline the code. So how about leaving the *_TO_REG functions in place and just replace their bodies with the appropriate macro invocation? Rasmus _______________________________________________ lm-sensors mailing list lm-sensors@xxxxxxxxxxxxxx http://lists.lm-sensors.org/mailman/listinfo/lm-sensors