projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0eca56f
)
drm/exynos: exynos_drm_fbdev: Fix incorrect usage of IS_ERR_OR_NULL
author
Sachin Kamat
<sachin.kamat@linaro.org>
Mon, 29 Apr 2013 06:57:05 +0000
(12:27 +0530)
committer
Inki Dae
<inki.dae@samsung.com>
Wed, 22 May 2013 02:45:41 +0000
(11:45 +0900)
exynos_drm_framebuffer_init() does not return NULL. Use IS_ERR instead.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_fbdev.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/exynos/exynos_drm_fbdev.c
b/drivers/gpu/drm/exynos/exynos_drm_fbdev.c
index
68f0045
..
8f007aa
100644
(file)
--- a/
drivers/gpu/drm/exynos/exynos_drm_fbdev.c
+++ b/
drivers/gpu/drm/exynos/exynos_drm_fbdev.c
@@
-182,7
+182,7
@@
static int exynos_drm_fbdev_create(struct drm_fb_helper *helper,
helper->fb = exynos_drm_framebuffer_init(dev, &mode_cmd,
&exynos_gem_obj->base);
- if (IS_ERR
_OR_NULL
(helper->fb)) {
+ if (IS_ERR(helper->fb)) {
DRM_ERROR("failed to create drm framebuffer.\n");
ret = PTR_ERR(helper->fb);
goto err_destroy_gem;