瀏覽代碼

soc: samsung: pm_domains: Remove message about failed memory allocation

Memory subsystem already prints message about failed memory
allocation, there is no need to do it in the drivers.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Marek Szyprowski 8 年之前
父節點
當前提交
d1a09872fe
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      drivers/soc/samsung/pm_domains.c

+ 0 - 2
drivers/soc/samsung/pm_domains.c

@@ -149,8 +149,6 @@ static __init int exynos4_pm_init_power_domain(void)
 
 		pd = kzalloc(sizeof(*pd), GFP_KERNEL);
 		if (!pd) {
-			pr_err("%s: failed to allocate memory for domain\n",
-					__func__);
 			of_node_put(np);
 			return -ENOMEM;
 		}