m68k/amiga: 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:57 +0000 (15:15 +0200)
commit27b05e4d202427a8a8b03487e70f256f586e7ad8
tree110ecec918afb3c3235cb674260cdb6b94eeb078
parentb5486a49dcd0aab17399fce39d95e0214df071ba
m68k/amiga: 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/amiga/platform.c
This page took 0.024005 seconds and 5 git commands to generate.