Commit 7a5b6827 authored by Jingoo Han's avatar Jingoo Han Committed by Inki Dae

drm/exynos: dp: remove unnecessary OOM messages

The site-specific OOM messages are unnecessary, because they
duplicate the MM subsystem generic OOM message.
Signed-off-by: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
parent 153df698
...@@ -1116,10 +1116,8 @@ static struct video_info *exynos_dp_dt_parse_pdata(struct device *dev) ...@@ -1116,10 +1116,8 @@ static struct video_info *exynos_dp_dt_parse_pdata(struct device *dev)
dp_video_config = devm_kzalloc(dev, dp_video_config = devm_kzalloc(dev,
sizeof(*dp_video_config), GFP_KERNEL); sizeof(*dp_video_config), GFP_KERNEL);
if (!dp_video_config) { if (!dp_video_config)
dev_err(dev, "memory allocation for video config failed\n");
return ERR_PTR(-ENOMEM); return ERR_PTR(-ENOMEM);
}
dp_video_config->h_sync_polarity = dp_video_config->h_sync_polarity =
of_property_read_bool(dp_node, "hsync-active-high"); of_property_read_bool(dp_node, "hsync-active-high");
...@@ -1232,10 +1230,8 @@ static int exynos_dp_probe(struct platform_device *pdev) ...@@ -1232,10 +1230,8 @@ static int exynos_dp_probe(struct platform_device *pdev)
dp = devm_kzalloc(&pdev->dev, sizeof(struct exynos_dp_device), dp = devm_kzalloc(&pdev->dev, sizeof(struct exynos_dp_device),
GFP_KERNEL); GFP_KERNEL);
if (!dp) { if (!dp)
dev_err(&pdev->dev, "no memory for device data\n");
return -ENOMEM; return -ENOMEM;
}
dp->dev = &pdev->dev; dp->dev = &pdev->dev;
dp->dpms_mode = DRM_MODE_DPMS_OFF; dp->dpms_mode = DRM_MODE_DPMS_OFF;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment