linux-stable/drivers/thermal
Sudip Mukherjee 7440f518da thermal/drivers/ti-soc-thermal: Avoid dereferencing ERR_PTR
On error the function ti_bandgap_get_sensor_data() returns the error
code in ERR_PTR() but we only checked if the return value is NULL or
not. And, so we can dereference an error code inside ERR_PTR.
While at it, convert a check to IS_ERR_OR_NULL.

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200424161944.6044-1-sudipm.mukherjee@gmail.com
2020-04-29 16:38:58 +02:00
..
broadcom thermal: brcmstb_thermal: Register different ops per process 2020-01-27 11:41:08 +01:00
intel thermal: int3400_thermal: Statically initialize .get_mode()/.set_mode() ops 2020-04-15 11:19:52 +02:00
qcom thermal: qcom: tsens.h: Replace zero-length array with flexible-array member 2020-03-23 15:20:47 +01:00
samsung thermal: exynos: Silence warning during deferred probe 2020-03-12 11:56:53 +01:00
st thermal: Delete an error message in four functions 2020-04-14 11:41:12 +02:00
tegra thermal: tegra: Appease the kernel-doc deity 2020-01-27 10:24:32 +01:00
ti-soc-thermal thermal/drivers/ti-soc-thermal: Avoid dereferencing ERR_PTR 2020-04-29 16:38:58 +02:00
amlogic_thermal.c thermal: amlogic: Appease the kernel-doc deity 2020-01-27 10:24:32 +01:00
armada_thermal.c thermal: armada: remove unused TO_MCELSIUS macro 2020-01-31 10:30:40 -08:00
clock_cooling.c thermal/drivers/cpu_cooling: Rename to cpufreq_cooling 2020-01-27 10:24:32 +01:00
cpufreq_cooling.c - Convert tsens configuration DT binding to yaml (Rajeshwari) 2020-04-07 20:00:16 -07:00
cpuidle_cooling.c thermal/drivers/cpu_cooling: Introduce the cpu idle cooling driver 2020-01-27 10:24:32 +01:00
da9062-thermal.c
db8500_thermal.c thermal: db8500: Depromote debug print 2020-01-27 10:24:32 +01:00
devfreq_cooling.c thermal: devfreq_cooling: Use PM QoS to set frequency limits 2020-04-14 11:41:12 +02:00
dove_thermal.c
fair_share.c thermal: step_wise: Appease the kernel-doc deity 2020-01-27 10:24:32 +01:00
gov_bang_bang.c thermal: step_wise: Appease the kernel-doc deity 2020-01-27 10:24:32 +01:00
hisi_thermal.c
imx8mm_thermal.c thermal: imx8mm: Fix build warning of incorrect argument type 2020-03-23 15:33:52 +01:00
imx_sc_thermal.c thermal: imx_sc_thermal: Add hwmon support 2020-04-14 11:41:12 +02:00
imx_thermal.c thermal: imx: Calling imx_thermal_unregister_legacy_cooling() in .remove 2020-03-20 12:17:48 +01:00
k3_bandgap.c thermal: k3: Add support for bandgap sensors 2020-04-14 11:41:12 +02:00
Kconfig thermal: k3: Add support for bandgap sensors 2020-04-14 11:41:12 +02:00
kirkwood_thermal.c
Makefile thermal: k3: Add support for bandgap sensors 2020-04-14 11:41:12 +02:00
max77620_thermal.c thermal: max77620: Appease the kernel-doc deity 2020-01-27 10:24:32 +01:00
mtk_thermal.c thermal: mediatek: Appease the kernel-doc deity 2020-01-27 10:24:32 +01:00
of-thermal.c thermal: of-thermal: add API for getting sensor ID from DT 2020-03-12 11:40:57 +01:00
power_allocator.c
qoriq_thermal.c thermal: qoriq: Sort includes alphabetically 2020-03-20 12:17:48 +01:00
rcar_gen3_thermal.c thermal: rcar_gen3_thermal: Add r8a77961 support 2020-03-20 12:17:48 +01:00
rcar_thermal.c thermal: rcar_thermal: Remove lock in rcar_thermal_get_current_temp() 2020-03-20 12:17:48 +01:00
rockchip_thermal.c thermal: Delete an error message in four functions 2020-04-14 11:41:12 +02:00
spear_thermal.c
sprd_thermal.c thermal: sprd: Add Spreadtrum thermal driver support 2020-03-12 11:40:57 +01:00
step_wise.c thermal: step_wise: Appease the kernel-doc deity 2020-01-27 10:24:32 +01:00
sun8i_thermal.c thermal: sun8i: Add hwmon support 2020-01-27 11:41:08 +01:00
tango_thermal.c
thermal-generic-adc.c thermal: generic-adc: silence info message for IIO_TEMP channels 2020-01-27 10:24:32 +01:00
thermal_core.c thermal: core: Remove pointless debug traces 2020-04-14 11:41:12 +02:00
thermal_core.h thermal: Move get_thermal_instance to the internal header 2020-04-14 11:41:12 +02:00
thermal_helpers.c thermal: core: Make thermal_zone_set_trips private 2020-04-14 11:41:12 +02:00
thermal_hwmon.c thermal_hwmon: Add devres wrapper for thermal_add_hwmon_sysfs() 2020-01-27 10:24:32 +01:00
thermal_hwmon.h thermal_hwmon: Add devres wrapper for thermal_add_hwmon_sysfs() 2020-01-27 10:24:32 +01:00
thermal_mmio.c thermal: no need to set .owner when using module_platform_driver 2019-11-07 07:00:26 +01:00
thermal_sysfs.c
uniphier_thermal.c
user_space.c thermal: step_wise: Appease the kernel-doc deity 2020-01-27 10:24:32 +01:00
zx2967_thermal.c thermal: zx2967: Appease the kernel-doc deity 2020-01-27 10:24:32 +01:00