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)
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>

No differences found