From: Geert Uytterhoeven Date: Thu, 6 Nov 2014 13:51:00 +0000 (+0200) Subject: PM / clock_ops: Add pm_clk_add_clk() X-Git-Tag: omap-for-v3.19/fixes-rc1~136^2~4^3~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=245bd6f6af8a62a2e2e14976e5ef3dc2b82ec153;p=pandora-kernel.git 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 Reviewed-by: Kevin Hilman Signed-off-by: Geert Uytterhoeven Signed-off-by: Grygorii Strashko Reviewed-by: Dmitry Torokhov Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed