Stephen Boyd 11f6c2307c 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>
2019-06-25 11:56:04 -07:00
..
2019-05-15 13:21:37 -07:00
2019-05-15 13:21:37 -07:00
2019-04-26 10:40:49 -07:00
2019-05-15 13:21:37 -07:00
2019-05-15 13:21:37 -07:00
2019-05-15 13:21:37 -07:00
2019-05-15 13:21:37 -07:00
2019-05-15 13:21:37 -07:00
2019-05-16 09:19:14 -07:00
2018-12-11 09:57:47 -08:00
2018-12-11 09:57:47 -08:00
2019-05-07 11:46:02 -07:00
2019-04-26 10:40:49 -07:00
2018-07-06 13:44:06 -07:00
2019-05-07 11:46:02 -07:00
2019-04-26 10:40:49 -07:00