From 6f0c3091e73df7ad1393c3400d168b9777b4a63c Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Mon, 25 May 2015 15:03:32 +0900 Subject: [PATCH] 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed