Masahiro Yamada 6f0c3091e7 serial: of_serial: check the return value of clk_prepare_enable()
The function clk_prepare_enable() may fail, and in that case it
does not make sense to proceed.  Let's check its return code and
error out if it is a negative value.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-06-01 06:55:12 +09:00
..
2015-05-18 14:08:58 -07:00
2015-03-31 12:04:13 +02:00
2015-05-24 13:06:08 -07:00
2015-05-10 19:26:37 +02:00
2015-05-18 14:08:58 -07:00
2015-05-10 19:26:37 +02:00
2015-05-24 13:06:08 -07:00
2015-05-18 14:08:58 -07:00