Skip to content
Commit 16bd5865 authored by Sanjeev Sharma's avatar Sanjeev Sharma Committed by Sebastian Reichel
Browse files

hsi: controllers:remove redundant code



Use devm_ioremap_resource() in order to make the code simpler,
and remove redundant return value check of platform_get_resource()
because this value is alreadytaken care by devm_ioremap_resource()

Signed-off-by: default avatarSanjeev Sharma <sanjeev_sharma@mentor.com>
Signed-off-by: default avatarSebastian Reichel <sre@kernel.org>
parent d2c85ac2
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