Skip to content
Commit 5aaa5873 authored by Guenter Roeck's avatar Guenter Roeck
Browse files

hwmon: (jz4740) Use devm_platform_ioremap_resource



The new helper devm_platform_ioremap_resource() wraps
platform_get_resource() and devm_ioremap_resource() together.
Use it to simplify the code.

Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 2f2defda
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment