m68k/q40: Use PTR_RET rather than if(IS_ERR(...)) + PTR_ERR
authorThomas Meyer <thomas@m3y3r.de>
Mon, 6 Aug 2012 17:51:16 +0000 (19:51 +0200)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Sat, 18 Aug 2012 13:15:58 +0000 (15:15 +0200)
commite786f6bfd62e4da8c07c8e208a881c2b855a534a
tree673511d37a031ec3268b5c4137994e92f061c43e
parent27b05e4d202427a8a8b03487e70f256f586e7ad8
m68k/q40: Use PTR_RET rather than if(IS_ERR(...)) + PTR_ERR

The semantic patch that makes this change is available
in scripts/coccinelle/api/ptr_ret.cocci.

More information about semantic patching is available at
http://coccinelle.lip6.fr/

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/q40/config.c