diff options
author | 2015-06-11 10:39:46 +0800 | |
---|---|---|
committer | 2015-06-12 17:39:50 -0700 | |
commit | ff0daa1c1a28c9866d735852a1cbfb9c757aaa7b (patch) | |
tree | 9281508e59138fc2844d277a6630e39095994c55 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | serial: 8250_pci: Correct uartclk for xr17v35x expansion chips (diff) | |
download | linux-dev-ff0daa1c1a28c9866d735852a1cbfb9c757aaa7b.tar.xz linux-dev-ff0daa1c1a28c9866d735852a1cbfb9c757aaa7b.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions