summaryrefslogtreecommitdiffstats
path: root/scripts/show_delta
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2015-07-07 18:30:05 -0700
committerStephen Boyd <sboyd@codeaurora.org>2015-07-13 17:12:31 -0700
commit86665d2897209429a7e4a003764b9fc5034dbfa1 (patch)
tree4d30c87e4a77d06bee544a070a4557812362d3de /scripts/show_delta
parentf04b8b48d32c66b5d9243f7a1c85ca198eff43bb (diff)
downloadblackbird-obmc-linux-86665d2897209429a7e4a003764b9fc5034dbfa1.tar.gz
blackbird-obmc-linux-86665d2897209429a7e4a003764b9fc5034dbfa1.zip
clk: st: Fix error paths and allocation style
The error paths in this file leak memory and mappings and test for pointers being valid after dereferencing them. Fix these problems and properly free resources on errors. Fix some stylistic things too like using sizeof(*ptr) and fitting more code on a single line. Note that we don't unregister clocks here. That needs a clk_composite_unregister() API that we don't have right now. Acked-by: Gabriel Fernandez <gabriel.fernandez@linaro.org> Cc: Pankaj Dev <pankaj.dev@st.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'scripts/show_delta')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud