pinctrl: use ERR_CAST instead of ERR_PTR(PTR_ERR(...))
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 30 Jul 2012 16:38:33 +0000 (18:38 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 3 Sep 2012 11:21:37 +0000 (13:21 +0200)
commite60bc2df9ba5574af87a8d0fa249ceac9fa1d3bd
tree01fc83251693ce476e53eb07c6622f2acfa9ee1b
parent4cbe5a555fa58a79b6ecbb6c531b8bab0650778d
pinctrl: use ERR_CAST instead of ERR_PTR(PTR_ERR(...))

This doesn't change semantics, just looks nicer.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
include/linux/pinctrl/consumer.h