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: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
Guenter Roeck 2019-04-01 10:36:41 -07:00
commit 5aaa58734d