summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/thermal
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2018-07-30 07:07:03 +0000
committerEduardo Valentin <edubezval@gmail.com>2018-08-01 09:56:12 -0700
commit84b64de597bcc26549a7cbfe2fa8022bbc142daa (patch)
treec2fb2c3d67b9a8d706df1ec87839baeb1473e373 /Documentation/devicetree/bindings/thermal
parent542cdf4068049458e1411b120bd5a4bbe3ddc49a (diff)
thermal: armada: fix copy-paste error in armada_thermal_probe()
The return value from devm_kzalloc() is not checked correctly. The test is done against a wrong variable. Fix it. Fixes: e72f03ef2543 ("thermal: armada: use the resource managed registration helper alternative") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org> Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'Documentation/devicetree/bindings/thermal')
0 files changed, 0 insertions, 0 deletions