From: Masahiro Yamada Date: Mon, 25 May 2015 06:03:32 +0000 (+0900) Subject: serial: of_serial: check the return value of clk_prepare_enable() X-Git-Tag: omap-for-v4.2/wakeirq-drivers-v2^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f0c3091e73df7ad1393c3400d168b9777b4a63c;p=pandora-kernel.git 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-diff-tree failed