On 23.11.2022 14:36:51, Jiasheng Jiang wrote: > Since the devm_clk_get may return error, > it should be better to add check for the cdev->hclk, > as same as cdev->cclk. > > Fixes: f524f829b75a ("can: m_can: Create a m_can platform framework") > Signed-off-by: Jiasheng Jiang Applied to linux-can. Thanks, Marc -- Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |