This patch is base on branch clk-hi3519 in clk tree. It mainly fixes the following issues: 1. Add driver remove path. 2. Fix the ordering issue about clock provider being published. 3. Add error checking upon registering clocks.
change log v2: -Redivided patches to make sure every patch can be compiled successfully. Jiancheng Xue (5): reset: hisilicon: change the definition of hisi_reset_init clk: hisilicon: add hisi_clk_alloc function. clk: hisilicon: add error processing for hisi_clk_register_* functions clk: hisilicon: add hisi_clk_unregister_* functions clk: hisilicon: hi3519: add driver remove path and fix some issues drivers/clk/hisilicon/clk-hi3519.c | 116 ++++++++++++++++++++++++++++++++----- drivers/clk/hisilicon/clk.c | 89 ++++++++++++++++++++++++---- drivers/clk/hisilicon/clk.h | 34 +++++++++-- drivers/clk/hisilicon/reset.c | 19 +++--- drivers/clk/hisilicon/reset.h | 5 +- 5 files changed, 220 insertions(+), 43 deletions(-) -- 1.9.1