summaryrefslogtreecommitdiff
path: root/drivers/clk/clk-lochnagar.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@kernel.org>2019-06-25 06:01:55 +0300
committerStephen Boyd <sboyd@kernel.org>2019-06-25 21:56:04 +0300
commit11f6c2307caee89370d7752eb6f404f1ed73faaf (patch)
treea396f5fb90bb92766d1b60c252eb1a69ba17dbf4 /drivers/clk/clk-lochnagar.c
parentf925a054f0f85c93282f6ddab0e1355237293214 (diff)
downloadlinux-11f6c2307caee89370d7752eb6f404f1ed73faaf.tar.xz
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 <wens@csie.org> Tested-by: Chen-Yu Tsai <wens@csie.org> Reviewed-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/clk-lochnagar.c')
0 files changed, 0 insertions, 0 deletions