thermal: tegra: remove unnecessary warnings
authorWei Ni <wni@nvidia.com>
Tue, 19 Feb 2019 04:27:02 +0000 (12:27 +0800)
committerEduardo Valentin <edubezval@gmail.com>
Thu, 21 Feb 2019 01:23:37 +0000 (17:23 -0800)
Convert warnings to info as not all platforms may
have all the thresholds and sensors enabled.

Signed-off-by: Wei Ni <wni@nvidia.com>
Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/tegra/soctherm.c

index 45b41b8..fa50484 100644 (file)
@@ -569,7 +569,7 @@ static int tegra_soctherm_set_hwtrips(struct device *dev,
 set_throttle:
        ret = get_hot_temp(tz, &trip, &temperature);
        if (ret) {
-               dev_warn(dev, "throttrip: %s: missing hot temperature\n",
+               dev_info(dev, "throttrip: %s: missing hot temperature\n",
                         sg->name);
                return 0;
        }
@@ -600,7 +600,7 @@ set_throttle:
        }
 
        if (i == THROTTLE_SIZE)
-               dev_warn(dev, "throttrip: %s: missing throttle cdev\n",
+               dev_info(dev, "throttrip: %s: missing throttle cdev\n",
                         sg->name);
 
        return 0;