diff options
author | 2017-06-23 21:55:10 +0200 | |
---|---|---|
committer | 2017-06-27 11:25:40 +0200 | |
commit | 8c3ecd60e2ee6268e1735952e5b544f05b4dbb5a (patch) | |
tree | eb5ce868accdb73fe1e768c1ccadb90e9895ab18 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | clocksource/drivers/fsl_ftm_timer: Unmap region obtained by of_iomap (diff) | |
download | wireguard-linux-8c3ecd60e2ee6268e1735952e5b544f05b4dbb5a.tar.xz wireguard-linux-8c3ecd60e2ee6268e1735952e5b544f05b4dbb5a.zip |
clocksource/drivers/mips-gic-timer: Fix an error code in 'gic_clocksource_of_init()'
'clk' is a valid pointer at this point. So calling PTR_ERR on it is
pointess.
Return the error code from 'clk_prepare_enable()' if it fails instead.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions