iio: ep93xx: remove redundant return value check of platform_get_resource()
authorWei Yongjun <weiyongjun1@huawei.com>
Wed, 17 Jan 2018 11:30:00 +0000 (11:30 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 30 Jan 2018 18:33:20 +0000 (18:33 +0000)
commit2a7fa90a9aef19ee6a959356be53bbd6ed851304
treedff90314217c753b7869adcc3a89f86c9197a44e
parent56154dac338a96c37713b2320d57b76d624a245c
iio: ep93xx: remove redundant return value check of platform_get_resource()

Remove unneeded error handling on the result of a call
to platform_get_resource() when the value is passed to
devm_ioremap_resource().

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ep93xx_adc.c