From ff0daa1c1a28c9866d735852a1cbfb9c757aaa7b Mon Sep 17 00:00:00 2001 From: Fernando Guzman Lugo Date: Thu, 11 Jun 2015 10:39:46 +0800 Subject: [PATCH] serial: sprd: check for NULL after calling devm_clk_get In platforms which does not use CLK framework (HAVE_CLK not set), the clk_* functions return NULL instead of an error. This patch handles that scenario. Signed-off-by: Fernando Guzman Lugo Signed-off-by: Chunyan Zhang Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed