pinctrl: use ERR_CAST instead of ERR_PTR/PTR_ERR
authorFabian Frederick <fabf@skynet.be>
Mon, 27 Apr 2015 16:04:05 +0000 (18:04 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 6 May 2015 13:34:51 +0000 (15:34 +0200)
commit66eb3bd857f5311f72c7c371f78ddc9c472befba
tree3f2cebf02c180510fb7cb040383a2bcf49af6a54
parent0b354dc4335b230c05d8de3648404943553ca54f
pinctrl: use ERR_CAST instead of ERR_PTR/PTR_ERR

Inspired by scripts/coccinelle/api/err_cast.cocci

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
include/linux/pinctrl/consumer.h