[PATCH] clk: samsung: Add check for platform_driver_register

Stephen Boyd sboyd at kernel.org
Wed Jun 15 17:07:55 PDT 2022


Quoting Jiasheng Jiang (2022-05-26 03:12:15)
> As platform_driver_register() could fail, it should be better
> to deal with the return value in order to maintain the code
> consisitency.
> 
> Fixes: b06a532bf1fa ("clk: samsung: Add Exynos5 sub-CMU clock driver")
> Signed-off-by: Jiasheng Jiang <jiasheng at iscas.ac.cn>
> ---

Reviewed-by: Stephen Boyd <sboyd at kernel.org>



More information about the linux-arm-kernel mailing list