07 Nov, 2014

1 commit

  • 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

    Geert Uytterhoeven
     

25 Aug, 2011

1 commit