Re: [PATCH v4 00/12] add header file for kelvin to/from Celsius conversion helpers
From: Akinobu Mita
Date: Mon Dec 23 2019 - 08:07:55 EST
Andrew,
Could you take a look at this series, and consider including into -mm tree?
2019å12æ15æ(æ) 14:16 Akinobu Mita <akinobu.mita@xxxxxxxxx>:
>
> 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.