From patchwork Thu Jan 31 10:25:37 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 2072141 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 8420E3FD1A for ; Thu, 31 Jan 2013 10:35:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752923Ab3AaKey (ORCPT ); Thu, 31 Jan 2013 05:34:54 -0500 Received: from mail-da0-f54.google.com ([209.85.210.54]:40846 "EHLO mail-da0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751604Ab3AaKex (ORCPT ); Thu, 31 Jan 2013 05:34:53 -0500 Received: by mail-da0-f54.google.com with SMTP id n2so1250114dad.41 for ; Thu, 31 Jan 2013 02:34:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state; bh=crvTLvqGer4EGdLebX1Vh5dAVHFNRLsXfGqTVooMToo=; b=oFfy2D7v9rAZqF4Moz9+kGhXl9fwtnTcDbN6yUBfwibFItUIut3gXbas3zOYgyHlzy NSj5fSXnG/r4VL1M/QUmz3vr1DzhrYWnG+O/eVBGiO1CB+a817U2i2+VmLCMPVKwCu6l hFHRJkmz+OoXQYL9uA4tCh3ea7yzqrt9yJ2f5J7VwfJvU7Vfa7Uos2CyFzmKD4tXiND2 s2jdqvJ9Z1pmCGhjv0ZYSOOZMZpBQC/GoglktbDqncvI0Fey+Lk2qaOLY7hk+bhCGOb0 sOQJNKtzo+HtJcj5+Ldt8v8IP50d8o7fSHrJDclxyrQnFsRxro3KEaloiNIv2b1zb5kF WLuA== X-Received: by 10.68.193.199 with SMTP id hq7mr20777620pbc.3.1359628492853; Thu, 31 Jan 2013 02:34:52 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id q4sm5199356paz.20.2013.01.31.02.34.49 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 31 Jan 2013 02:34:52 -0800 (PST) From: Sachin Kamat To: linux-kernel@vger.kernel.org Cc: thierry.reding@avionic-design.de, gregkh@linuxfoundation.org, sachin.kamat@linaro.org, Donghwa Lee , Florian Tobias Schandinat , linux-fbdev@vger.kernel.org Subject: [PATCH 1/3] video: exynos_mipi_dsi: Convert to devm_ioremap_resource() Date: Thu, 31 Jan 2013 15:55:37 +0530 Message-Id: <1359627939-2685-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQkjpK3hOlNz7Anb4U8lE7k9Iufyyiq4AjRV+FuavqsB6CML3xea9Mfh5xl1+BzikdqCHoFE Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org Use the newly introduced devm_ioremap_resource() instead of devm_request_and_ioremap() which provides more consistent error handling. Signed-off-by: Sachin Kamat Cc: Donghwa Lee Cc: Florian Tobias Schandinat Cc: linux-fbdev@vger.kernel.org --- drivers/video/exynos/exynos_mipi_dsi.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/video/exynos/exynos_mipi_dsi.c b/drivers/video/exynos/exynos_mipi_dsi.c index fac7df6..a29715f 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