diff options
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/thermal/samsung/exynos_tmu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/thermal/samsung/exynos_tmu.c b/drivers/thermal/samsung/exynos_tmu.c index 864eec8f5164..b6a6e90ba340 100644 --- a/drivers/thermal/samsung/exynos_tmu.c +++ b/drivers/thermal/samsung/exynos_tmu.c | |||
| @@ -172,8 +172,8 @@ static void exynos_report_trigger(struct exynos_tmu_data *p) | |||
| 172 | unsigned long temp; | 172 | unsigned long temp; |
| 173 | unsigned int i; | 173 | unsigned int i; |
| 174 | 174 | ||
| 175 | if (!p) { | 175 | if (!tz) { |
| 176 | pr_err("Wrong temperature configuration data\n"); | 176 | pr_err("No thermal zone device defined\n"); |
| 177 | return; | 177 | return; |
| 178 | } | 178 | } |
| 179 | 179 | ||
