From patchwork Wed Jun 26 01:50:50 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Yongjun X-Patchwork-Id: 2782111 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 512CCC0AB1 for ; Wed, 26 Jun 2013 01:51:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E81B22025D for ; Wed, 26 Jun 2013 01:50:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AF97C2025A for ; Wed, 26 Jun 2013 01:50:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751223Ab3FZBuw (ORCPT ); Tue, 25 Jun 2013 21:50:52 -0400 Received: from mail-bk0-f48.google.com ([209.85.214.48]:46618 "EHLO mail-bk0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751195Ab3FZBuv (ORCPT ); Tue, 25 Jun 2013 21:50:51 -0400 Received: by mail-bk0-f48.google.com with SMTP id jf17so4606873bkc.21 for ; Tue, 25 Jun 2013 18:50:50 -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=8mLa4RmhEikEw/yu8wtwWSYaAD7jw9G2hQbtUGWfhTU=; b=wFF2yfObJT81IHxAjN+AAXTBQ19K/a9o3+SA+xnGLQJwO/UBqLNIOmT5EKYBMBzDeG PmXI6FMR2qHR8Omcf/1TL+DGWtuR4xUvL+OT9igo5jwwA3hhS1Si8EbiOufRuKoy05pE 5HkwsvtVBVdjSywlczmSAJjNio6uOicWTL82E4bRvZEu/ARBJk1giRFxMv+j85gyFpS+ ojEOhkSWalbuNGXVWQItEiSl1T3NSQF4nReHUtiCEFhBnGnClNgTLRXdWHAJm9lMQ6YD l7pv8tCJqBZz15hma/HGBt77tbP6YRQjphtjzW9vzj65vtokNnvJ1CxfoVAHDGcbLcWd Hkdg== MIME-Version: 1.0 X-Received: by 10.204.189.80 with SMTP id dd16mr177721bkb.126.1372211450295; Tue, 25 Jun 2013 18:50:50 -0700 (PDT) Received: by 10.205.122.72 with HTTP; Tue, 25 Jun 2013 18:50:50 -0700 (PDT) Date: Wed, 26 Jun 2013 09:50:50 +0800 Message-ID: Subject: [PATCH -next] video: mxsfb: remove redundant dev_err call in mxsfb_probe() From: Wei Yongjun To: plagnioj@jcrosoft.com, tomi.valkeinen@ti.com, grant.likely@linaro.org, rob.herring@calxeda.com Cc: yongjun_wei@trendmicro.com.cn, linux-fbdev@vger.kernel.org, devicetree-discuss@lists.ozlabs.org Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-8.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- drivers/video/mxsfb.c | 1 - 1 file changed, 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-fbdev" 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/video/mxsfb.c b/drivers/video/mxsfb.c index 21223d4..251bbec 100644 --- a/drivers/video/mxsfb.c +++ b/drivers/video/mxsfb.c @@ -899,7 +899,6 @@ static int mxsfb_probe(struct platform_device *pdev) host->base = devm_ioremap_resource(&pdev->dev, res); if (IS_ERR(host->base)) { - dev_err(&pdev->dev, "ioremap failed\n"); ret = PTR_ERR(host->base); goto fb_release; }