iio:adc:lpc32xx Handle return value of clk_prepare_enable
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Tue, 30 May 2017 11:05:27 +0000 (16:35 +0530)
committerJonathan Cameron <jic23@kernel.org>
Sat, 3 Jun 2017 08:55:25 +0000 (09:55 +0100)
commit42d97ac6a8384197f5b2745592c55aae3191b0e0
tree2ba2820fb544948c2f023cb99767a63d72fb76a0
parentf4f93bf77dc14e99b2bd383bd67e30294e732372
iio:adc:lpc32xx Handle return value of clk_prepare_enable

clk_prepare_enable() can fail here and we must check its return value.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/lpc32xx_adc.c