diff options
author | Wei Ni <wni@nvidia.com> | 2019-02-19 05:27:02 +0100 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2019-02-21 02:23:37 +0100 |
commit | cd28561dce0f8dbdb5d8efd686933f3381f7ce90 (patch) | |
tree | b91c089919d0408e516cceceff73b5a100627645 /drivers/thermal | |
parent | thermal: mediatek: add support for MT8183 (diff) | |
download | linux-cd28561dce0f8dbdb5d8efd686933f3381f7ce90.tar.xz linux-cd28561dce0f8dbdb5d8efd686933f3381f7ce90.zip |
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; |