diff options
author | Wei Ni <wni@nvidia.com> | 2019-02-19 12:27:02 +0800 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2019-02-20 17:23:37 -0800 |
commit | cd28561dce0f8dbdb5d8efd686933f3381f7ce90 (patch) | |
tree | b91c089919d0408e516cceceff73b5a100627645 /drivers/thermal | |
parent | a4ffe6b52d27f42f01c132ed851d121ebec34cfb (diff) |
thermal: tegra: remove unnecessary warnings
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>
Diffstat (limited to 'drivers/thermal')
-rw-r--r-- | drivers/thermal/tegra/soctherm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/thermal/tegra/soctherm.c b/drivers/thermal/tegra/soctherm.c index 45b41b885f49..fa50484e1c84 100644 --- a/drivers/thermal/tegra/soctherm.c +++ b/drivers/thermal/tegra/soctherm.c @@ -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; |