diff options
| author | Stephen Boyd <[email protected]> | 2019-06-25 03:01:55 +0000 |
|---|---|---|
| committer | Stephen Boyd <[email protected]> | 2019-06-25 18:56:04 +0000 |
| commit | 11f6c2307caee89370d7752eb6f404f1ed73faaf (patch) | |
| tree | a396f5fb90bb92766d1b60c252eb1a69ba17dbf4 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | Merge tag 'sunxi-ng-parent-rewrite-part-1-take-2' of https://git.kernel.org/p... (diff) | |
| download | kernel-11f6c2307caee89370d7752eb6f404f1ed73faaf.tar.gz kernel-11f6c2307caee89370d7752eb6f404f1ed73faaf.zip | |
clk: Simplify debugfs printing and add a newline
The possible parent printing function duplicates a bunch of if
conditions. Pull that into another function so we can print an extra
character at the end, either a space or a newline. This way we can add
the required newline that got lost here and also shorten the code.
Fixes: 2d156b78ce8f ("clk: Fix debugfs clk_possible_parents for clks without parent string names")
Cc: Chen-Yu Tsai <[email protected]>
Tested-by: Chen-Yu Tsai <[email protected]>
Reviewed-by: Chen-Yu Tsai <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
