Tag: 5a99233e9bcacc7ea23e173a75bbb7301abd3e6f

pinctrl: digicolor: 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 a driver that was 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