diff options
author | Aishwarya Ramakrishnan <aishwaryarj100@gmail.com> | 2020-04-12 19:26:42 +0530 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-04-19 16:56:41 +0100 |
commit | af5c2174ca6d9eb5d31a36fb057bbcf2aaac6f6c (patch) | |
tree | 7638afa772ced8bdb3bb07641921e2dd6829dbaa /include/linux/err.h | |
parent | fd1cadd6ca30dda7e9acdf501adbf33a12f0c2fd (diff) |
iio: adc: at91-adc: Use devm_platform_ioremap_resource
Use the helper function that wraps the calls to
platform_get_resource() and devm_ioremap_resource()
together. It reduces boilerplate and suggested by coccinelle.
Signed-off-by: Aishwarya Ramakrishnan <aishwaryarj100@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/err.h')
0 files changed, 0 insertions, 0 deletions