iio: adc: mxs-lradc: Disable the clock on probe failure
authorFabio Estevam <fabio.estevam@freescale.com>
Sat, 4 Oct 2014 11:50:21 +0000 (08:50 -0300)
committerJonathan Cameron <jic23@kernel.org>
Thu, 9 Oct 2014 20:02:51 +0000 (21:02 +0100)
We should disable lradc->clk in the case of errors in the probe function.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Cc: <Stable@vger.kernel.org>

No differences found