aboutsummaryrefslogtreecommitdiff
path: root/drivers/soc
diff options
context:
space:
mode:
authorMarek Szyprowski2017-01-30 13:18:58 +0100
committerKrzysztof Kozlowski2017-01-31 21:30:06 +0200
commitd1a09872fe2f28bf1a9e224abaf1688807adda91 (patch)
tree816c1f6986968721e00ac6e933f162f265f78f15 /drivers/soc
parent066502d483dead0417841c5fa7cddb0a50f828e1 (diff)
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>
Diffstat (limited to 'drivers/soc')
-rw-r--r--drivers/soc/samsung/pm_domains.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/soc/samsung/pm_domains.c b/drivers/soc/samsung/pm_domains.c
index 05f63fe96920..0649024fce09 100644
--- a/drivers/soc/samsung/pm_domains.c
+++ b/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;
}