Skip to content
Commit 57e5b8bf authored by Wang ShaoBo's avatar Wang ShaoBo Committed by Jonathan Cameron
Browse files

iio: adc: stm32-dfsdm: Use devm_platform_get_and_ioremap_resource()



Make use of devm_platform_get_and_ioremap_resource() provided by
driver core platform instead of duplicated analogue, dev_err() is
removed because it has been done in devm_ioremap_resource().

Signed-off-by: default avatarWang ShaoBo <bobo.shaobowang@huawei.com>
Link: https://lore.kernel.org/r/20200918083142.32816-1-bobo.shaobowang@huawei.com
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent cbc4ca35
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment