diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2014-11-06 16:51:00 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-11-07 03:46:51 +0300 |
commit | 245bd6f6af8a62a2e2e14976e5ef3dc2b82ec153 (patch) | |
tree | 4fa4b90e9903f9ad44072b3147153c1a567eaa50 /Documentation/isdn/README.fax | |
parent | 0df1f2487d2f0d04703f142813d53615d62a1da4 (diff) | |
download | linux-245bd6f6af8a62a2e2e14976e5ef3dc2b82ec153.tar.xz |
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 <santosh.shilimkar@ti.com>
Reviewed-by: Kevin Hilman <khilman@linaro.org>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Reviewed-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'Documentation/isdn/README.fax')
0 files changed, 0 insertions, 0 deletions