PM / devfreq: imx: Fix inconsistent IS_ERR and PTR_ERR in imx_bus_init_icc()
Quoted 6 lines
Fix inconsistent
IS_ERRandPTR_ERRinimx_bus_init_icc().The proper pointer to be passed as argument to
PTR_ERR()ispriv->icc_pdev.This bug was detected with the help of Coccinelle.
Can the following information be also helpful?
Generated by: scripts/coccinelle/tests/odd_ptr_err.cocci
Regards,
Markus