Re: [PATCH 3/8] platform/x86: asus-wmi: switch to use <linux/temperature.h> helpers

From: Andy Shevchenko
Date: Mon Nov 25 2019 - 14:06:24 EST


On Mon, Nov 25, 2019 at 4:32 PM Akinobu Mita <akinobu.mita@xxxxxxxxx> wrote:
> 2019å11æ25æ(æ) 4:54 Andy Shevchenko <andy.shevchenko@xxxxxxxxx>:
> > On Sun, Nov 24, 2019 at 4:09 PM Akinobu Mita <akinobu.mita@xxxxxxxxx> wrote:

> > > - value = DECI_KELVIN_TO_CELSIUS((value & 0xFFFF)) * 1000;
> > > -
> > > - return sprintf(buf, "%d\n", value);
> >
> > > + return sprintf(buf, "%ld\n",
> > > + deci_kelvin_to_millicelsius(value & 0xFFFF));
> >
> > Leave it in one line.
>
> It causes this line over 80 characters.

And I don't care.

> Or do you prefer to save the
> conversion result in 'value' temporarily as before?

No.

--
With Best Regards,
Andy Shevchenko