Re: [PATCH] thermal/drivers/hisi: Remove confusing error message
From: Eduardo Valentin
Date: Mon Dec 04 2017 - 20:52:45 EST
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@xxxxxxxxxx>
> ---
> drivers/thermal/hisi_thermal.c | 12 ++++++------