drm: gem_cma: Use ERR_CAST helper
authorSachin Kamat <sachin.kamat@linaro.org>
Thu, 3 Jul 2014 12:03:33 +0000 (17:33 +0530)
committerDave Airlie <airlied@redhat.com>
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 <sachin.kamat@linaro.org>
Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_gem_cma_helper.c