diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-10-13 13:25:12 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-11-09 12:18:22 +0000 |
commit | 46e55d065394ded9c4dd5b2396a07e5810185024 (patch) | |
tree | d3907a81fa88347310fa09de1ab5c5e878082a09 /drivers/tty/n_tty.c | |
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>
Diffstat (limited to 'drivers/tty/n_tty.c')
0 files changed, 0 insertions, 0 deletions