[PATCH v2 2/3] clk: mediatek: Make mtk_clk_pdev_remove() return void

Stephen Boyd sboyd at kernel.org
Wed May 10 13:43:20 PDT 2023


Quoting Uwe Kleine-König (2023-04-30 12:02:32)
> This function returns 0 unconditionally. Make it return no value instead
> and convert the drivers making use of it to platform_driver's
> .remove_new().
> 
> This makes the semantics in the callers of mtk_clk_simple_remove() clearer
> and prepares for the quest to make platform driver's remove function return
> void. There is no semantic change.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
> ---

Applied to clk-next



More information about the Linux-mediatek mailing list