projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c11182d
)
drm/exynos: drm_rotator: Fix incorrect usage of IS_ERR_OR_NULL
author
Sachin Kamat
<sachin.kamat@linaro.org>
Thu, 21 Mar 2013 10:03:59 +0000
(15:33 +0530)
committer
Inki Dae
<daeinki@gmail.com>
Tue, 16 Apr 2013 15:07:25 +0000
(
00:07
+0900)
Use IS_ERR instead of IS_ERR_OR_NULL on clk_get results.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_rotator.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/exynos/exynos_drm_rotator.c
b/drivers/gpu/drm/exynos/exynos_drm_rotator.c
index a40b9fb60240c963a35c26042936b1b8a5831ca7..947f09f15ad1abe53179b77d330db5602a936dc5 100644
(file)
--- a/
drivers/gpu/drm/exynos/exynos_drm_rotator.c
+++ b/
drivers/gpu/drm/exynos/exynos_drm_rotator.c
@@
-674,7
+674,7
@@
static int rotator_probe(struct platform_device *pdev)
}
rot->clock = devm_clk_get(dev, "rotator");
- if (IS_ERR
_OR_NULL
(rot->clock)) {
+ if (IS_ERR(rot->clock)) {
dev_err(dev, "failed to get clock\n");
ret = PTR_ERR(rot->clock);
goto err_clk_get;