Fernando Guzman Lugo ff0daa1c1a 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 <fernando.guzman.lugo@intel.com>
Signed-off-by: Chunyan Zhang <chunyan.zhang@spreadtrum.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-06-12 17:39:50 -07:00
..
2015-06-08 10:49:28 -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
2013-12-08 16:56:05 -08:00
2015-06-08 10:49:28 -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