Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fa018d3e authored by Jingoo Han's avatar Jingoo Han Committed by Zhang Rui
Browse files

thermal: spear: 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>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
parent 2a9675b3
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -113,10 +113,8 @@ static int spear_thermal_probe(struct platform_device *pdev)
	}

	stdev = devm_kzalloc(&pdev->dev, sizeof(*stdev), GFP_KERNEL);
	if (!stdev) {
		dev_err(&pdev->dev, "kzalloc fail\n");
	if (!stdev)
		return -ENOMEM;
	}

	/* Enable thermal sensor */
	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);