diff options
author | Geert Uytterhoeven <[email protected]> | 2014-11-06 15:51:00 +0200 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2014-11-07 01:46:51 +0100 |
commit | 245bd6f6af8a62a2e2e14976e5ef3dc2b82ec153 (patch) | |
tree | 4fa4b90e9903f9ad44072b3147153c1a567eaa50 /tools/perf/scripts/python/syscall-counts.py | |
parent | 0df1f2487d2f0d04703f142813d53615d62a1da4 (diff) |
PM / clock_ops: Add pm_clk_add_clk()
The existing pm_clk_add() allows to pass a clock by con_id. However,
when referring to a specific clock from DT, no con_id is available.
Add pm_clk_add_clk(), which allows to specify the struct clk * directly.
The will will increment refcount on clock pointer, so the caller has
to use clk_put() on clock pointer when done.
Reviewed-by: Santosh Shilimkar <[email protected]>
Reviewed-by: Kevin Hilman <[email protected]>
Signed-off-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Grygorii Strashko <[email protected]>
Reviewed-by: Dmitry Torokhov <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions