From patchwork Mon Mar 4 08:40:40 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 15219 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 167E723E4A for ; Mon, 4 Mar 2013 08:51:10 +0000 (UTC) Received: from mail-vc0-f174.google.com (mail-vc0-f174.google.com [209.85.220.174]) by fiordland.canonical.com (Postfix) with ESMTP id CE446A18A18 for ; Mon, 4 Mar 2013 08:51:09 +0000 (UTC) Received: by mail-vc0-f174.google.com with SMTP id n11so3175931vch.19 for ; Mon, 04 Mar 2013 00:51:09 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state; bh=VcF7JdV58fgwwfEYn/wNnyLO7X7JQo0dOpFmhYlXaEY=; b=C5JI12nFyvESnyQGgfc4GZI9/47HbjY+vI4TiiGIO6mA1IFPev0BP5Cp3J3nfhwOxy O5kuurb3t8TJVJ0jtnTnCEOAIbmwG5epO3Oxv5SNbxVJkcx/oXmW44i5PPEBg7y8rBqk KVJ6Z7OUUfxHgiXKIvp1ccax2luFdPQTijLuE+cw5mQXCMlfNcIoMH0odcQ29HBY34iX 6SOFvrvdWguwp2DQYHtZ93DNcyjpzC5he66sgevsLd8Ss+UcXnkVZ3My5aNAH5bw5weE fQCBHjlu6mossF2HbmIOhThdUQ6IBGA+K+koUQSqanrcvHSYSaAMxaVhi5995TNSz/Tn c7dw== X-Received: by 10.52.88.237 with SMTP id bj13mr6463429vdb.75.1362387069276; Mon, 04 Mar 2013 00:51:09 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.58.127.98 with SMTP id nf2csp45446veb; Mon, 4 Mar 2013 00:51:08 -0800 (PST) X-Received: by 10.66.144.3 with SMTP id si3mr31344437pab.105.1362387068251; Mon, 04 Mar 2013 00:51:08 -0800 (PST) Received: from mail-pb0-f50.google.com (mail-pb0-f50.google.com [209.85.160.50]) by mx.google.com with ESMTPS id rz8si20534216pbc.117.2013.03.04.00.51.07 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 04 Mar 2013 00:51:08 -0800 (PST) Received-SPF: neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.160.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by mail-pb0-f50.google.com with SMTP id up1so2972634pbc.37 for ; Mon, 04 Mar 2013 00:51:07 -0800 (PST) X-Received: by 10.66.89.226 with SMTP id br2mr31149975pab.57.1362387067753; Mon, 04 Mar 2013 00:51:07 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id 4sm8639323pbn.23.2013.03.04.00.51.04 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 04 Mar 2013 00:51:07 -0800 (PST) From: Sachin Kamat To: linux-fbdev@vger.kernel.org Cc: akpm@linux-foundation.org, thierry.reding@avionic-design.de, patches@linaro.org, Donghwa Lee , Florian Tobias Schandinat Subject: [PATCH 1/1] video: exynos_mipi_dsi: Convert to devm_ioremap_resource() Date: Mon, 4 Mar 2013 14:10:40 +0530 Message-Id: <1362386440-17078-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQkDBKGtiapYuIc64KUhR9SdfoOy9nKbeAxQnGC9P51eAUUUI4e708mcTsJbR8M9kX/exxHe Use the newly introduced devm_ioremap_resource() instead of devm_request_and_ioremap() which provides more consistent error handling. devm_ioremap_resource() provides its own error messages; so all explicit error messages can be removed from the failure code paths. Signed-off-by: Sachin Kamat Cc: Donghwa Lee Cc: Florian Tobias Schandinat Reviewed-by: Thierry Reding --- drivers/video/exynos/exynos_mipi_dsi.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/video/exynos/exynos_mipi_dsi.c b/drivers/video/exynos/exynos_mipi_dsi.c index fac7df6..87cd13b 100644 --- a/drivers/video/exynos/exynos_mipi_dsi.c +++ b/drivers/video/exynos/exynos_mipi_dsi.c @@ -32,6 +32,7 @@ #include #include #include +#include #include