Skip to content
Commit 07141cfe authored by Yangtao Li's avatar Yangtao Li Committed by Lee Jones
Browse files

mfd: ti_am335x_tscadc: Use devm_platform_get_and_ioremap_resource()



Convert platform_get_resource(), devm_ioremap_resource() to a single
call to devm_platform_get_and_ioremap_resource(), as this is exactly
what this function does.

Signed-off-by: default avatarYangtao Li <frank.li@vivo.com>
Link: https://lore.kernel.org/r/20230706113939.1178-3-frank.li@vivo.com


Signed-off-by: default avatarLee Jones <lee@kernel.org>
parent 41b2e61a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment