lkml.org 
[lkml]   [2017]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] thermal/drivers/hisi: Remove confusing error message
Hello,

Catching up on old patches.
On Fri, Jul 07, 2017 at 05:03:52PM +0200, Daniel Lezcano wrote:
> The sensor id is unknown at init time and we use all id in the authorized
> MAX_SENSORS interval to register the sensor. On this SoC there is one
> thermal-zone with one sensor on it. No need to spit on the console everytime we
> failed to register thermal sensors, information which is deliberaly known as it
> is part of the discovery process.
>
> hisi_thermal f7030700.tsensor: failed to register sensor id 0: -19
> hisi_thermal f7030700.tsensor: failed to register thermal sensor: -19
> hisi_thermal f7030700.tsensor: failed to register sensor id 1: -19
> hisi_thermal f7030700.tsensor: failed to register thermal sensor: -19
> hisi_thermal f7030700.tsensor: failed to register sensor id 3: -19
> hisi_thermal f7030700.tsensor: failed to register thermal sensor: -19
>
> Remove the error messages

Is this still needed? I am assuming no.
.
>
> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
> ---
> drivers/thermal/hisi_thermal.c | 12 ++++++------

\
 
 \ /
  Last update: 2017-12-05 02:53    [W:0.095 / U:3.916 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site