-
Lin Yujun authored
No error handling is performed when platform_device_add() fails. Add error processing before return, and modified the return value. Fixes: 77d8f306 ("clk: imx: scu: add two cells binding support") Signed-off-by: Lin Yujun <linyujun809@huawei.com> Link: https://lore.kernel.org/r/20220914033206.98046-1-linyujun809@huawei.comSigned-off-by: Stephen Boyd <sboyd@kernel.org>
855ae87a