]> git.karo-electronics.de Git - linux-beck.git/commit
spi/spidev: Use PTR_RET function
authorAlexandru Gheorghiu <gheorghiuandru@gmail.com>
Thu, 14 Mar 2013 09:18:18 +0000 (11:18 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 1 Apr 2013 13:32:32 +0000 (14:32 +0100)
commit8179bb2655b607d4c3e8cea10a60eb3cf8557b63
treeb2041ac06d2d32430dce45b575b105eabcf260c6
parente4d43781df4b7da0cb86987b25dfa425407a643c
spi/spidev: Use PTR_RET function

Replaced calls to IS_ERR and PTR_ERR with PTR_RET function.
Patch found using coccinelle.

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