From: Marek Szyprowski Date: Mon, 30 Jan 2017 12:18:58 +0000 (+0100) Subject: soc: samsung: pm_domains: Remove message about failed memory allocation X-Git-Tag: v4.11-rc1~85^2~2^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d1a09872fe2f28bf1a9e224abaf1688807adda91;p=platform%2Fkernel%2Flinux-exynos.git 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 Signed-off-by: Krzysztof Kozlowski --- diff --git a/drivers/soc/samsung/pm_domains.c b/drivers/soc/samsung/pm_domains.c index 05f63fe..0649024 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; }