diff options
author | 2015-05-25 15:03:32 +0900 | |
---|---|---|
committer | 2015-06-01 06:55:12 +0900 | |
commit | 6f0c3091e73df7ad1393c3400d168b9777b4a63c (patch) | |
tree | d2821fe64d3397c00c6b944dedea318075171017 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | serial: of_serial: use devm_clk_get() instead of clk_get() (diff) | |
download | linux-dev-6f0c3091e73df7ad1393c3400d168b9777b4a63c.tar.xz linux-dev-6f0c3091e73df7ad1393c3400d168b9777b4a63c.zip |
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 <yamada.masahiro@socionext.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions