Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3451298ybi; Tue, 18 Jun 2019 00:42:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqx0O6a5mt/CK9aHQ6iXIMhTUoN7znd7Xjz04VdkSn1VTKkLoAoXn6MihgLRusiCcvTYugn6 X-Received: by 2002:a62:3c3:: with SMTP id 186mr1063556pfd.21.1560843746338; Tue, 18 Jun 2019 00:42:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560843746; cv=none; d=google.com; s=arc-20160816; b=Cvxq+sOMebZan34sstQITK9iZsUpdx83X90F2/RsIx+ZKsnZIEgZ/DgUI/u3tAp5h+ 7ZnEW9efg+R2zDAyEWX1c67PlYNgUuEn6gIEdtk/WPtCiQurVZrK5fRAAC3L/cDaJzLa zqLt7dJgP2nkA0YQFMJcH4d/NTyMjZxRhuSMTo7uva+yfDmxWcgdHdi/dAg5t+lZ5Yql tc90gmznuEVsvUSVVN+1thW8aBO2z4yNWUs+AsrdZJcDalJ87JBECNC9aEun/IbW15ul 0I6Y5Mr+6OMyJsR1RgnHmUNPKII/iVTYFp24cJ6V3paEMz18Ayglmm/7GZjyfaQ4unSq W84w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=kZAHqVn1lbVhjuZ65eJE6kjvLcqvRrY7Gao5BiRbEpE=; b=yC1N0GkTJ+rGTc8HDkzKydOsHh4+joWdP1MiUOS61fvnxfuogNr3PP4s2ZyDb395Eq sikaikkdO5fTGE/WgE+OuRthD2Z+EaHEs2I6jQ72begfX6STi6dZ15mI8AWuToOY+m/z 3l5eL8tjKiEZ51KIFAu8CPGyUb2WVkK0axDsd8TOsMLhvgebCgWxbGwDlo6am4ZIm4eP G7c0t7rfK8dZnf5MRqM+FGwOw3aHIy/rHk/yvQpriquEoDEDbA8k5JPm42ko3AN6YYuq WufLzhFcgmpf96L/G/BVqhuDQB13jNID8mU8+I6UIpUDDhY+Y4Azy/xo8PyOS6JjhTLs H09g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v21si12230903pfm.18.2019.06.18.00.42.11; Tue, 18 Jun 2019 00:42:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729037AbfFRHkm (ORCPT + 99 others); Tue, 18 Jun 2019 03:40:42 -0400 Received: from cmccmta2.chinamobile.com ([221.176.66.80]:2238 "EHLO cmccmta2.chinamobile.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725934AbfFRHkm (ORCPT ); Tue, 18 Jun 2019 03:40:42 -0400 Received: from spf.mail.chinamobile.com (unknown[172.16.121.11]) by rmmx-syy-dmz-app07-12007 (RichMail) with SMTP id 2ee75d08954ca60-767e3; Tue, 18 Jun 2019 15:39:57 +0800 (CST) X-RM-TRANSID: 2ee75d08954ca60-767e3 X-RM-TagInfo: emlType=0 X-RM-SPAM-FLAG: 00000000 Received: from localhost.localdomain (unknown[223.105.0.243]) by rmsmtp-syy-appsvr06-12006 (RichMail) with SMTP id 2ee65d08954cd03-60fee; Tue, 18 Jun 2019 15:39:57 +0800 (CST) X-RM-TRANSID: 2ee65d08954cd03-60fee From: Ding Xiang To: jun.nie@linaro.org, shawnguo@kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] Arm: zx: remove redundant dev_err message Date: Tue, 18 Jun 2019 15:39:01 +0800 Message-Id: <1560843541-11611-1-git-send-email-dingxiang@cmss.chinamobile.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org devm_ioremap_resource already contains error message, so remove the redundant dev_err message Signed-off-by: Ding Xiang --- arch/arm/mach-zx/zx296702-pm-domain.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/arm/mach-zx/zx296702-pm-domain.c b/arch/arm/mach-zx/zx296702-pm-domain.c index 7a08bf9d..ac44ea8 100644 --- a/arch/arm/mach-zx/zx296702-pm-domain.c +++ b/arch/arm/mach-zx/zx296702-pm-domain.c @@ -169,10 +169,8 @@ static int zx296702_pd_probe(struct platform_device *pdev) } pcubase = devm_ioremap_resource(&pdev->dev, res); - if (IS_ERR(pcubase)) { - dev_err(&pdev->dev, "ioremap fail.\n"); + if (IS_ERR(pcubase)) return -EIO; - } for (i = 0; i < ARRAY_SIZE(zx296702_pm_domains); ++i) pm_genpd_init(zx296702_pm_domains[i], NULL, false); -- 1.9.1