Masahiro Yamada e70e69bf20 serial: 8250_uniphier: call clk_disable_unprepare() on failure path
If serial8250_register_8250_port() fails, disable and unprepare the
clock before exiting.

Fixes: 1a8d2903cb6a ("serial: 8250_uniphier: add UniPhier serial driver")
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-08-03 15:51:19 -07:00
..
2015-03-31 12:04:13 +02:00
2015-05-10 19:26:37 +02:00
2013-12-08 16:56:05 -08:00
2015-07-27 11:12:39 -07:00
2015-07-23 18:37:32 -07:00