From patchwork Thu Feb 28 11:06:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 10832785 X-Patchwork-Delegate: kieran@bingham.xyz Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 59D7C1399 for ; Thu, 28 Feb 2019 11:06:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4BB282DE0D for ; Thu, 28 Feb 2019 11:06:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3FC662DE42; Thu, 28 Feb 2019 11:06:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DE9872DE0D for ; Thu, 28 Feb 2019 11:06:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730991AbfB1LGW (ORCPT ); Thu, 28 Feb 2019 06:06:22 -0500 Received: from albert.telenet-ops.be ([195.130.137.90]:35250 "EHLO albert.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727708AbfB1LGW (ORCPT ); Thu, 28 Feb 2019 06:06:22 -0500 Received: from ramsan ([84.194.111.163]) by albert.telenet-ops.be with bizsmtp id iB6L1z00G3XaVaC06B6L5E; Thu, 28 Feb 2019 12:06:20 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan with esmtp (Exim 4.90_1) (envelope-from ) id 1gzJW8-0007UC-1N; Thu, 28 Feb 2019 12:06:20 +0100 Received: from geert by rox.of.borg with local (Exim 4.90_1) (envelope-from ) id 1gzJW7-0000WS-Vu; Thu, 28 Feb 2019 12:06:20 +0100 From: Geert Uytterhoeven To: Mauro Carvalho Chehab , Ramesh Shanmugasundaram Cc: linux-media@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] media: rcar_drif: Remove devm_ioremap_resource() error printing Date: Thu, 28 Feb 2019 12:06:16 +0100 Message-Id: <20190228110616.1966-1-geert+renesas@glider.be> X-Mailer: git-send-email 2.17.1 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP devm_ioremap_resource() already prints an error message on failure, so there is no need to repeat that. Signed-off-by: Geert Uytterhoeven --- drivers/media/platform/rcar_drif.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/platform/rcar_drif.c b/drivers/media/platform/rcar_drif.c index c417ff8f6fe548f3..d4efade7aea60e32 100644 --- a/drivers/media/platform/rcar_drif.c +++ b/drivers/media/platform/rcar_drif.c @@ -1407,7 +1407,6 @@ static int rcar_drif_probe(struct platform_device *pdev) ch->base = devm_ioremap_resource(&pdev->dev, res); if (IS_ERR(ch->base)) { ret = PTR_ERR(ch->base); - dev_err(&pdev->dev, "ioremap failed (%d)\n", ret); return ret; } ch->start = res->start;