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: 2211451 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id A564FDF2F2 for ; Mon, 4 Mar 2013 08:51:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755443Ab3CDIvI (ORCPT ); Mon, 4 Mar 2013 03:51:08 -0500 Received: from mail-pb0-f53.google.com ([209.85.160.53]:61894 "EHLO mail-pb0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753109Ab3CDIvI (ORCPT ); Mon, 4 Mar 2013 03:51:08 -0500 Received: by mail-pb0-f53.google.com with SMTP id un1so2939815pbc.40 for ; Mon, 04 Mar 2013 00:51:07 -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=VcF7JdV58fgwwfEYn/wNnyLO7X7JQo0dOpFmhYlXaEY=; b=HfgfHIuiWlXAue56zfltWLEtrMcW83ViqCVKeksZzZhRLZ8jW8EK+Eznn+6TUlIZX/ o+9pZubv0KcbCuKp2wv4aNnc83bV6gp0FEaQgzRUTsagll6X5C+XDWj+UsD7SLHrKQbF 174meCAcr7MIlqE8s9QTj1P5BzLUB67506eUvUR2QAKiRJPIZBRdw8uyuIhoqVHnEgmq oazqNCpIIYApKJh2ZS/joXmyDCmgpSe4pgtEI27V20SZxlTUeyer00dyhQCMzGRU8I43 KmEvTLjtKr75gggDcgPHM5R1jkVjZjvXMCGM6a0XoSPJYEQwNeljLw7XVaJeXoD85s// v9gw== 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: ALoCoQlLcDpCaBTDYS0MQryd/JXNx1o+Z/8j6YH8nwoGKCliT51FFfJmDuHfPfL82BDKx3gd8us9 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. 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