Skip to content
Commit d7539260 authored by Yang Yingliang's avatar Yang Yingliang Committed by Daniel Lezcano
Browse files

thermal/drivers/st: Use devm_platform_get_and_ioremap_resource()



Use devm_platform_get_and_ioremap_resource() to simplify
code and remove error message which within
devm_platform_get_and_ioremap_resource() already.

Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20210605120205.2459578-1-yangyingliang@huawei.com
parent a052b511
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment