regulator: fan53555: Use PTR_RET function
authorAlexandru Gheorghiu <gheorghiuandru@gmail.com>
Mon, 18 Mar 2013 21:35:31 +0000 (23:35 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 20 Mar 2013 13:30:12 +0000 (14:30 +0100)
commiteb8ad609912cd468b23467892a1c80ff2d610716
tree8bd69ef29c2ed864c284bc825a1c8fc82cd92b60
parenta937536b868b8369b98967929045f1df54234323
regulator: fan53555: Use PTR_RET function

Used PTR_RET function instead of IS_ERR and PTR_ERR.
Patch found using coccinelle.

Signed-off-by: Alexandru Gheorghiu <gheorghiuandru@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/fan53555.c