diff options
author | Guenter Roeck <linux@roeck-us.net> | 2019-04-01 19:36:41 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2019-04-16 02:19:53 +0200 |
commit | 5aaa58734d8876640fe0a730c699ce7b9ea90b1c (patch) | |
tree | acd0b331c6dd2a07c4309dfb2dea42abc275d28d /drivers/hwmon/iio_hwmon.c | |
parent | hwmon: (w83773g) Use HWMON_CHANNEL_INFO macro (diff) | |
download | linux-5aaa58734d8876640fe0a730c699ce7b9ea90b1c.tar.xz linux-5aaa58734d8876640fe0a730c699ce7b9ea90b1c.zip |
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>
Diffstat (limited to 'drivers/hwmon/iio_hwmon.c')
0 files changed, 0 insertions, 0 deletions