Commit 253e3ae1 authored by Zhang Rui's avatar Zhang Rui
Browse files

Thermal: spear_thermal: convert to devm_ioremap_resource



Use the newly introduced devm_ioremap_resource().

devm_ioremap_resource() provides its own error messages; so all explicit
error messages can be removed from the failure code paths.

CC: Vincenzo Frascino <vincenzo.frascino@st.com>
Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
parent c28f692c
Supports Markdown
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