summaryrefslogtreecommitdiffstats
path: root/drivers/thermal
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-05-07 15:04:48 +0900
committerZhang Rui <rui.zhang@intel.com>2014-05-15 17:15:26 +0800
commit2a9675b39ad1afddf6075c643dc7905e45225de9 (patch)
tree26fa5e22f96346f9943e58cf756e917dafa0e266 /drivers/thermal
parentb0a60d88d60b92c769ec589796403937f6e5243e (diff)
downloadblackbird-op-linux-2a9675b39ad1afddf6075c643dc7905e45225de9.tar.gz
blackbird-op-linux-2a9675b39ad1afddf6075c643dc7905e45225de9.zip
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: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/thermal')
-rw-r--r--drivers/thermal/samsung/exynos_tmu.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/thermal/samsung/exynos_tmu.c b/drivers/thermal/samsung/exynos_tmu.c
index ffccc894f0f8..c4dc81c00674 100644
--- a/drivers/thermal/samsung/exynos_tmu.c
+++ b/drivers/thermal/samsung/exynos_tmu.c
@@ -611,10 +611,8 @@ static int exynos_tmu_probe(struct platform_device *pdev)
data = devm_kzalloc(&pdev->dev, sizeof(struct exynos_tmu_data),
GFP_KERNEL);
- if (!data) {
- dev_err(&pdev->dev, "Failed to allocate driver structure\n");
+ if (!data)
return -ENOMEM;
- }
platform_set_drvdata(pdev, data);
mutex_init(&data->lock);
@@ -660,7 +658,6 @@ static int exynos_tmu_probe(struct platform_device *pdev)
sensor_conf = devm_kzalloc(&pdev->dev,
sizeof(struct thermal_sensor_conf), GFP_KERNEL);
if (!sensor_conf) {
- dev_err(&pdev->dev, "Failed to allocate registration struct\n");
ret = -ENOMEM;
goto err_clk;
}
OpenPOWER on IntegriCloud