summaryrefslogtreecommitdiff
path: root/drivers/mfd
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2019-05-15 12:34:21 +0300
committerEduardo Valentin <edubezval@gmail.com>2019-09-22 13:44:52 -0700
commitdd89d82e751473d13da0daea1bfb15d5634071c4 (patch)
tree8e1d2a1691b6a4264b3fb2363540b638b19fab01 /drivers/mfd
parent56037cadf60461b4a2996b4d8f0057c4d343c17c (diff)
thermal: thermal_mmio: remove some dead code
The platform_get_resource() function doesn't return error pointers, it returns NULL. The way this is normally done, is that we pass the NULL resource to devm_ioremap_resource() and then check for errors from that. See the comment in front of devm_ioremap_resource() for more details. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Talel Shenhar <talel@amazon.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/mfd')
0 files changed, 0 insertions, 0 deletions