staging: drm/omap: Use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(..
authorThomas Meyer <thomas@m3y3r.de>
Sun, 22 Jan 2012 17:27:21 +0000 (18:27 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2012 17:41:34 +0000 (09:41 -0800)
commit37fe58ba6832de1df88f3734d8e18f6da6a06971
treebc26578127c65fc5cbebf27e5ac9684e9ffd22e8
parentaa2f92ae6b986934ff220eda6b5c91f4ee294b35
staging: drm/omap: Use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(..

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

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

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/omapdrm/omap_gem_helpers.c