commit | 46e55d065394ded9c4dd5b2396a07e5810185024 | [log] [tgz] |
---|---|---|
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sun Oct 13 13:25:12 2019 +0100 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sat Nov 09 12:18:22 2019 +0000 |
tree | d3907a81fa88347310fa09de1ab5c5e878082a09 | |
parent | f2d025d3f237686b1b20c323847ce6b368302b2a [diff] |
iio: adc: cc10001: use devm_platform_ioremap_resource Reduces local boilerplate. Found by coccinelle: drivers/iio/adc/cc10001_adc.c:344:1-18: WARNING: Use devm_platform_ioremap_resource for adc_dev -> reg_base Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Cc: Naidu Tellapati <naidu.tellapati@imgtec.com>