Quoting Rex-BC Chen (2022-05-23 02:33:33) > To declare the reset data easier, we add a strucure to do this instead > of using many input variables to mtk_register_reset_controller(). > > - Add mtk_clk_rst_desc to define the reset description when registering > the reset controller. > - Rename "mtk_reset" to "mtk_clk_rst_data". We use it to store data of > reset controller. > - Document mtk_clk_rst_desc and mtk_clk_rst_data. > - Modify the documentation of mtk_register_reset_controller. > - Extract container_of in update functions to to_mtk_clk_rst_data(). > > Signed-off-by: Rex-BC Chen <rex-bc.chen@xxxxxxxxxxxx> > Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx> > Reviewed-by: Nícolas F. R. A. Prado <nfraprado@xxxxxxxxxxxxx> > Tested-by: Nícolas F. R. A. Prado <nfraprado@xxxxxxxxxxxxx> > --- Applied to clk-next