• Stephen Boyd's avatar
    Merge branches 'clk-init-allocation', 'clk-unused' and 'clk-register-dt-node-better' into clk-next · 28db9a8c
    Stephen Boyd authored
     - Let clk_ops::init() return an error code
     - Add a clk_ops::terminate() callback to undo clk_ops::init()
    
    * clk-init-allocation:
      clk: add terminate callback to clk_ops
      clk: let init callback return an error code
      clk: actually call the clock init before any other callback of the clock
    
    * clk-unused:
      clk: bm1800: Remove set but not used variable 'fref'
    
    * clk-register-dt-node-better:
      clk: Use parent node pointer during registration if necessary
    28db9a8c
clk.c 121 KB