summaryrefslogtreecommitdiff
path: root/drivers/thermal/ti-soc-thermal
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-06-14 12:13:27 +0300
committerEduardo Valentin <edubezval@gmail.com>2017-07-01 02:46:11 +0300
commit1fe3854a83b580727c9464b37b62ba77ead1d6f6 (patch)
treebd26bcfecef836c1340f1fb594a9e1650202d186 /drivers/thermal/ti-soc-thermal
parent919054fdfc8adf58c5512fe9872eb53ea0f5525d (diff)
downloadlinux-1fe3854a83b580727c9464b37b62ba77ead1d6f6.tar.xz
thermal: bcm2835: fix an error code in probe()
This causes a static checker because we're passing a valid pointer to PTR_ERR(). "err" is already the correct error code, so we can just delete this line. Fixes: bcb7dd9ef206 ("thermal: bcm2835: add thermal driver for bcm2835 SoC") Acked-by: Stefan Wahren <stefan.wahren@i2se.com> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/thermal/ti-soc-thermal')
0 files changed, 0 insertions, 0 deletions