summaryrefslogtreecommitdiff
path: root/drivers/gpu
diff options
context:
space:
mode:
authorJon Hunter <jonathanh@nvidia.com>2016-06-21 10:33:25 (GMT)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-06-27 22:42:10 (GMT)
commit498b5fdd40dd3881a3119d11bff8441cfd902850 (patch)
treea6741c5aa077d5d392a5c94470c1c9774dc43524 /drivers/gpu
parent29b968b2af7782fe879190cd43c10261506ebc11 (diff)
downloadlinux-498b5fdd40dd3881a3119d11bff8441cfd902850.tar.xz
PM / clk: Add support for adding a specific clock from device-tree
Some drivers using the PM clocks framework need to add specific clocks from device-tree using a name by calling the functions of_clk_get_by_name() and then pm_clk_add_clk(). Rather than having drivers call both functions, add a helper function of_pm_clk_add_clk() that will call these functions so drivers can call a single function to add a specific clock from device-tree. Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/gpu')
0 files changed, 0 insertions, 0 deletions