iio: mxs-lradc: move STMP reset out of ADC init
authorStefan Wahren <stefan.wahren@i2se.com>
Thu, 14 Apr 2016 15:48:27 +0000 (15:48 +0000)
committerJonathan Cameron <jic23@kernel.org>
Tue, 19 Apr 2016 18:58:10 +0000 (19:58 +0100)
commit850c25c857647e4095c4290e32eb62395f9c8117
tree4bf0541a0cde08ba9ade40c27f3f4bb5eb66005a
parent9cf6fcc15aa90bf742fc3d9325992867c130e6ce
iio: mxs-lradc: move STMP reset out of ADC init

This patch moves the STMP reset out of ADC init function so as to remove
the possiblity of an error return which will be necessary for PM ops support
patches to follow.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Tested-by: Marek Vasut <marex@denx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/mxs-lradc.c