diff options
author | Maxime Ripard <[email protected]> | 2022-08-16 13:25:24 +0200 |
---|---|---|
committer | Stephen Boyd <[email protected]> | 2022-09-15 09:31:58 -0700 |
commit | 1234a2c40b8cf16041fb9acd730160e6c5b4ba13 (patch) | |
tree | c167dbf4381d5d31b67e148ecf0d19b7877c0869 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 666650b25ac43700a1cce96e51a32fc89c973d28 (diff) |
clk: Introduce clk_core_has_parent()
We will need to know if a clk_core pointer has a given parent in other
functions, so let's create a clk_core_has_parent() function that
clk_has_parent() will call into.
For good measure, let's add some unit tests as well to make sure it
works properly.
Tested-by: Alexander Stein <[email protected]> # imx8mp
Tested-by: Marek Szyprowski <[email protected]> # exynos4210, meson g12b
Signed-off-by: Maxime Ripard <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Tested-by: Linux Kernel Functional Testing <[email protected]>
Tested-by: Naresh Kamboju <[email protected]>
[[email protected]: Move tmp declaration, fix conditional to check for
current parent]
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions