summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/exynos/exynos_drm_hdmi.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-08-19 19:04:55 +0900
committerInki Dae <inki.dae@samsung.com>2013-09-05 13:43:43 +0900
commit38bb5253a95f2eb8cb765b7ab88aac686de6cb12 (patch)
tree519c0c814285338973585a82e51662361514cac7 /drivers/gpu/drm/exynos/exynos_drm_hdmi.c
parent3f1c781d9354b3856ba7de64104659a2e2033fd4 (diff)
downloadblackbird-obmc-linux-38bb5253a95f2eb8cb765b7ab88aac686de6cb12.tar.gz
blackbird-obmc-linux-38bb5253a95f2eb8cb765b7ab88aac686de6cb12.zip
drm/exynos: Remove redundant error messages
kzalloc already has built-in error messages. Hence remove additional ones. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_drm_hdmi.c')
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_hdmi.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_hdmi.c b/drivers/gpu/drm/exynos/exynos_drm_hdmi.c
index 8d3bc01d6834..8548b974bd59 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_hdmi.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_hdmi.c
@@ -403,10 +403,8 @@ static int exynos_drm_hdmi_probe(struct platform_device *pdev)
struct drm_hdmi_context *ctx;
ctx = devm_kzalloc(dev, sizeof(*ctx), GFP_KERNEL);
- if (!ctx) {
- DRM_LOG_KMS("failed to alloc common hdmi context.\n");
+ if (!ctx)
return -ENOMEM;
- }
subdrv = &ctx->subdrv;
OpenPOWER on IntegriCloud