drm: gem_cma: Use ERR_CAST helper
authorSachin Kamat <[email protected]>
Thu, 3 Jul 2014 12:03:33 +0000 (17:33 +0530)
committerDave Airlie <[email protected]>
Mon, 21 Jul 2014 04:36:45 +0000 (14:36 +1000)
commite7c36347130fc3b9eec3572d00c53533f07a7347
tree482dfb8b6017f36537733245c9666f353d2e476c
parentb19729617929fff8217708f6e960cd85e6f53da2
drm: gem_cma: Use ERR_CAST helper

Makes the code a bit more readable.

Signed-off-by: Sachin Kamat <[email protected]>
Signed-off-by: Sachin Kamat <[email protected]>
Acked-by: Laurent Pinchart <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
drivers/gpu/drm/drm_gem_cma_helper.c