Commit 2a9675b3 authored by Jingoo Han's avatar Jingoo Han Committed by Zhang Rui

thermal: exynos: 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 avatarZhang Rui <rui.zhang@intel.com>
parent b0a60d88
...@@ -611,10 +611,8 @@ static int exynos_tmu_probe(struct platform_device *pdev) ...@@ -611,10 +611,8 @@ static int exynos_tmu_probe(struct platform_device *pdev)
data = devm_kzalloc(&pdev->dev, sizeof(struct exynos_tmu_data), data = devm_kzalloc(&pdev->dev, sizeof(struct exynos_tmu_data),
GFP_KERNEL); GFP_KERNEL);
if (!data) { if (!data)
dev_err(&pdev->dev, "Failed to allocate driver structure\n");
return -ENOMEM; return -ENOMEM;
}
platform_set_drvdata(pdev, data); platform_set_drvdata(pdev, data);
mutex_init(&data->lock); mutex_init(&data->lock);
...@@ -660,7 +658,6 @@ static int exynos_tmu_probe(struct platform_device *pdev) ...@@ -660,7 +658,6 @@ static int exynos_tmu_probe(struct platform_device *pdev)
sensor_conf = devm_kzalloc(&pdev->dev, sensor_conf = devm_kzalloc(&pdev->dev,
sizeof(struct thermal_sensor_conf), GFP_KERNEL); sizeof(struct thermal_sensor_conf), GFP_KERNEL);
if (!sensor_conf) { if (!sensor_conf) {
dev_err(&pdev->dev, "Failed to allocate registration struct\n");
ret = -ENOMEM; ret = -ENOMEM;
goto err_clk; goto err_clk;
} }
......
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