[PATCH v3 0/2] fix memory leak and unregister issue in clk_boston_setup()

2018-10-31 Thread Yi Wang
This fix two issues in clk_boston_setup() function: - possible memory leak of 'onecell' - registered clks not unregister when error happens Changes from v2: - include smatch to the commit - unregister clks which registered before going out Yi Wang (2): clk: boston: fix possible memory leak in

[PATCH v3 0/2] fix memory leak and unregister issue in clk_boston_setup()

2018-10-31 Thread Yi Wang
This fix two issues in clk_boston_setup() function: - possible memory leak of 'onecell' - registered clks not unregister when error happens Changes from v2: - include smatch to the commit - unregister clks which registered before going out Yi Wang (2): clk: boston: fix possible memory leak in