[PATCH v9 03/15] clk: Use devm_ in the register fixed factor clock

2018-05-21 Thread Ilia Lin
Use devm_clk_hw_register instead of clk_hw_register to simplify the usage of this API. This way drivers that call the clk_hw_register_fixed_factor won't need to maintain a data structure for further cleanup. Signed-off-by: Ilia Lin --- drivers/clk/clk-fixed-factor.c | 2

[PATCH v9 03/15] clk: Use devm_ in the register fixed factor clock

2018-05-21 Thread Ilia Lin
Use devm_clk_hw_register instead of clk_hw_register to simplify the usage of this API. This way drivers that call the clk_hw_register_fixed_factor won't need to maintain a data structure for further cleanup. Signed-off-by: Ilia Lin --- drivers/clk/clk-fixed-factor.c | 2 +- 1 file changed, 1