diff options
author | Strashko, Grygorii <grygorii.strashko@ti.com> | 2014-11-06 15:51:01 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-11-07 01:47:48 +0100 |
commit | 471f7707b6f0b18b6aa81119ed01525d9e712427 (patch) | |
tree | 588c036dc90337a7e18f53c6995043ddfca6c8ac /kernel | |
parent | 245bd6f6af8a62a2e2e14976e5ef3dc2b82ec153 (diff) |
PM / clock_ops: make __pm_clk_enable more generic
Now there are two places in code which do the same things,
so allow __pm_clk_enable() to accept pointer on pm_clock_entry
structure as second parameter instead of pointer on clock and
remove duplicated code.
Also, updated function intended to be used by following patch.
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 'kernel')
0 files changed, 0 insertions, 0 deletions