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

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