drm/udl: Use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(.. [1]
authorThomas Meyer <thomas@m3y3r.de>
Tue, 7 Aug 2012 06:57:25 +0000 (06:57 +0000)
committerDave Airlie <airlied@redhat.com>
Wed, 8 Aug 2012 23:58:44 +0000 (09:58 +1000)
commit959f724728b6a1cb5185230972119dd7bc8b610e
tree0518513232060be915f2738f4007b5ccf92a81ae
parent41494cbaeaed07a43e111b323d6da5e1d8dd7936
drm/udl: Use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(.. [1]

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: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/udl/udl_gem.c