pinctrl: use ERR_CAST instead of ERR_PTR/PTR_ERR
Inspired by scripts/coccinelle/api/err_cast.cocci Signed-off-by: NFabian Frederick <fabf@skynet.be> Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
Showing
想要评论请 注册 或 登录
Inspired by scripts/coccinelle/api/err_cast.cocci Signed-off-by: NFabian Frederick <fabf@skynet.be> Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>