From patchwork Sat Oct 12 06:11:02 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Yongjun X-Patchwork-Id: 282980 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 05CA22C0345 for ; Sat, 12 Oct 2013 17:11:14 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753612Ab3JLGLE (ORCPT ); Sat, 12 Oct 2013 02:11:04 -0400 Received: from mail-bk0-f51.google.com ([209.85.214.51]:53186 "EHLO mail-bk0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752103Ab3JLGLD (ORCPT ); Sat, 12 Oct 2013 02:11:03 -0400 Received: by mail-bk0-f51.google.com with SMTP id mx10so1857297bkb.24 for ; Fri, 11 Oct 2013 23:11:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=Ml9aPJ+5rm4wKPxWWBpFVqnNWCmnImLexYQwpOcyCGU=; b=Y/WMP13pDnrKeApC2/IgYU3Yl3dvKmbvd9iQi3+a3Y8MJu39nzHB3tyi8+BGBc6s/r mIB/kLZk5Y5UnnHvs/AOOg1qAhz8tLERUZ1xh/ctd+kZI98eOXn1dxoy9mEx2NaYDodO VomIrfVuxAFwRWagazO3MWhqcX4tVSwFFJCfuo1BkybgwTpT5t7EyzXqIXRsPLTW6naB PPLfO2J3qGXSXCDcu5mj2l96+DV2PnDezgWqS4nVO5q3NDNMH2Yuu79khkJhFDxt8Tvf RUjMhKRxyWlntGWe1mVK54aP5q9utSmmzFt9yg32T39MQGVnUDKrA168kB5OdDKJclvd ae8g== MIME-Version: 1.0 X-Received: by 10.205.78.5 with SMTP id zk5mr20901381bkb.25.1381558262250; Fri, 11 Oct 2013 23:11:02 -0700 (PDT) Received: by 10.205.19.10 with HTTP; Fri, 11 Oct 2013 23:11:02 -0700 (PDT) Date: Sat, 12 Oct 2013 14:11:02 +0800 Message-ID: Subject: [PATCH -next] PCI: imx6: remove redundant dev_err call in imx6_pcie_probe() From: Wei Yongjun To: bhelgaas@google.com, grant.likely@linaro.org, rob.herring@calxeda.com, xobs@kosagi.com, s.hauer@pengutronix.de, shawn.guo@linaro.org Cc: yongjun_wei@trendmicro.com.cn, linux-pci@vger.kernel.org Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org From: Wei Yongjun There is a error message within devm_ioremap_resource already, so remove the dev_err call to avoid redundant error message. Signed-off-by: Wei Yongjun Acked-by: Shawn Guo Reviewed-by: Jingoo Han --- drivers/pci/host/pci-imx6.c | 1 - 1 file changed, 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/pci/host/pci-imx6.c b/drivers/pci/host/pci-imx6.c index 5afa922..51338ac 100644 --- a/drivers/pci/host/pci-imx6.c +++ b/drivers/pci/host/pci-imx6.c @@ -439,7 +439,6 @@ static int __init imx6_pcie_probe(struct platform_device *pdev) pp->dbi_base = devm_ioremap_resource(&pdev->dev, dbi_base); if (IS_ERR(pp->dbi_base)) { - dev_err(&pdev->dev, "unable to remap dbi_base\n"); ret = PTR_ERR(pp->dbi_base); goto err; }