diff mbox series

[3/4] soc: samsung: pm_domains: Remove message about failed memory allocation

Message ID 1485514072-29502-4-git-send-email-m.szyprowski@samsung.com
State Accepted
Commit d1a09872fe2f28bf1a9e224abaf1688807adda91
Headers show
Series Provide real domain names for Exynos power domain driver | expand

Commit Message

Marek Szyprowski Jan. 27, 2017, 10:47 a.m. UTC
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>

---
 drivers/soc/samsung/pm_domains.c | 2 --
 1 file changed, 2 deletions(-)

-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-pm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox series

Patch

diff --git a/drivers/soc/samsung/pm_domains.c b/drivers/soc/samsung/pm_domains.c
index 00e32772655a..5a0a46bcbe18 100644
--- a/drivers/soc/samsung/pm_domains.c
+++ b/drivers/soc/samsung/pm_domains.c
@@ -156,8 +156,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;
 		}