Tag: d259ec26a6c541a5437e9ed0a1e1891342af3cff

pinctrl: qcom: ssbi: convert null test to IS_ERR test

Author: Julia Lawall <Julia.Lawall@lip6.fr> Since commit 323de9efdf3e (“pinctrl: make pinctrl_register() return proper error code”), pinctrl_register returns an error code rather than NULL on failure. Update some drivers that were introduced more recently. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ expression e,e1,e2; @@ e = pinctrl_register(…) … when != e …

Continue reading