Il 22/04/22 08:01, Rex-BC Chen ha scritto:
To declare the reset data easier instead of using many input variables to mtk_register_reset_controller(). - Add mtk_clk_rst_desc to input the reset register data. - Rename "mtk_reset" to "mtk_clk_rst_data". We use it to store reset register data and store reset controller device. It's more easy to manager the data for each 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>