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

BtrLinux
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.