Skip to content
Commit fd1cadd6 authored by Aishwarya Ramakrishnan's avatar Aishwarya Ramakrishnan Committed by Jonathan Cameron
Browse files

iio: adc: sun4i-gpadc-iio: Use devm_platform_ioremap_resource



Use the helper function that wraps the calls to platform_get_resource()
and devm_ioremap_resource() together.  Reduces boilerplate and suggested
by coccinelle.

Signed-off-by: default avatarAishwarya Ramakrishnan <aishwaryarj100@gmail.com>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 5372e1e5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment