diff options
author | Stephen Boyd <sboyd@kernel.org> | 2020-02-06 02:28:00 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2020-02-13 02:27:07 +0300 |
commit | 768a5d4f63c29d3bed5abb3c187312fcf623fa05 (patch) | |
tree | b2da4dbdf1779a4c08c585c18f464d8598f1c524 /tools/perf/scripts/python/stackcollapse.py | |
parent | f21cf9c77ee82ef8adfeb2143adfacf21ec1d5cc (diff) | |
download | linux-768a5d4f63c29d3bed5abb3c187312fcf623fa05.tar.xz |
clk: Use 'parent' to shorten lines in __clk_core_init()
Some lines are getting long in this function. Let's move 'parent' up to
the top of the function and use it in many places whenever there is a
parent for a clk. This shortens some lines by avoiding core->parent->
indirections.
Cc: Douglas Anderson <dianders@chromium.org>
Cc: Heiko Stuebner <heiko@sntech.de>
Cc: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lkml.kernel.org/r/20200205232802.29184-3-sboyd@kernel.org
Acked-by: Jerome Brunet <jbrunet@baylibre.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions