Re: [PATCH v4 00/12] add header file for kelvin to/from Celsius conversion helpers

Akinobu Mita
2019-12-23T13:07:55Z

Andrew,

Could you take a look at this series, and consider including into -mm tree?

2019年12月15日(日) 14:16 Akinobu Mita <akinobu.mita@gmail.com>:
>
> There are several helper macros to convert kelvin to/from Celsius in
> <linux/thermal.h> for thermal drivers. These are useful for any other
> drivers or subsystems, but it's odd to include <linux/thermal.h> just for
> the helpers.
>
> This adds a new <linux/units.h> that provides the equivalent inline
> functions for any drivers or subsystems, and switches all the users of
> conversion helpers in <linux/thermal.h> to use <linux/units.h>
> helpers.