aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/thermal/hisi_thermal.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2018-09-19 13:35:00 +0300
committerEduardo Valentin <edubezval@gmail.com>2018-10-22 17:38:24 -0700
commitd1d2c290b3c04b65fa6132eeebe50a070746d8f6 (patch)
treeaada788a9a6c3f3fb429a45e5d9da0f1730c14a9 /drivers/thermal/hisi_thermal.c
parentb6ad3981ff94b415d48399e949db0bdfbe360736 (diff)
downloadlinux-d1d2c290b3c04b65fa6132eeebe50a070746d8f6.tar.gz
thermal: armada: fix a test in probe()
The platform_get_resource() function doesn't return error pointers, it returns NULL on error. Fixes: 3d4e51844a4e ("thermal: armada: convert driver to syscon register accesses") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/thermal/hisi_thermal.c')
0 files changed, 0 insertions, 0 deletions