1
0
Fork 0
remarkable-linux/drivers/thermal/qcom
Wei Yongjun 809eb35045 thermal: qcom: tsens: Fix return value check in init_common()
In case of error, the function of_iomap() returns NULL pointer
not ERR_PTR(). The IS_ERR() test in the return value check
should be replaced with NULL test.
And the function devm_regmap_init_mmio() returns ERR_PTR()
and never returns NULL. The NULL test in the return value
check should be replaced with IS_ERR().

Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com>
Acked-by: Rajendra Nayak <rnayak@codeaurora.org>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
2016-09-27 14:02:16 +08:00
..
Kconfig thermal: qcom: tsens: Add a skeletal TSENS drivers 2016-09-27 14:02:16 +08:00
Makefile thermal: qcom: tsens-8996: Add support for 8996 family of SoCs 2016-09-27 14:02:16 +08:00
tsens-8916.c thermal: qcom: remove declare local symbols as static 2016-09-27 14:02:16 +08:00
tsens-8960.c thermal: qcom: remove declare local symbols as static 2016-09-27 14:02:16 +08:00
tsens-8974.c thermal: qcom: remove declare local symbols as static 2016-09-27 14:02:16 +08:00
tsens-8996.c thermal: qcom: remove declare local symbols as static 2016-09-27 14:02:16 +08:00
tsens-common.c thermal: qcom: tsens: Fix return value check in init_common() 2016-09-27 14:02:16 +08:00
tsens.c thermal: qcom: tsens-8916: mark PM functions __maybe_unused 2016-09-27 14:02:16 +08:00
tsens.h thermal: streamline get_trend callbacks 2016-09-27 14:02:16 +08:00