drivers: char: Use PTR_RET function
authorAlexandru Gheorghiu <gheorghiuandru@gmail.com>
Sat, 16 Mar 2013 14:19:51 +0000 (16:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2013 20:18:11 +0000 (13:18 -0700)
commit275b5d2061c20749582060be68b6ec4692736d28
treefb13aaa703ce70bdd21a30bd54fc0d1b4823ba2f
parent2451a84839187cd9d150ff1bfac4f5febbcce7a6
drivers: char: 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/tile-srom.c