]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5f1bed84158d67782367d68b15e95330fe5808f7
tree8bd69ef29c2ed864c284bc825a1c8fc82cd92b60
parent148543df715b536cb95942c40ec29271c07ef0bd
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