From patchwork Mon Feb 18 08:53:09 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 14964 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 852A523FC2 for ; Mon, 18 Feb 2013 09:03:09 +0000 (UTC) Received: from mail-vc0-f175.google.com (mail-vc0-f175.google.com [209.85.220.175]) by fiordland.canonical.com (Postfix) with ESMTP id 281BEA18F49 for ; Mon, 18 Feb 2013 09:03:09 +0000 (UTC) Received: by mail-vc0-f175.google.com with SMTP id fw7so3452727vcb.34 for ; Mon, 18 Feb 2013 01:03:08 -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 :in-reply-to:references:x-gm-message-state; bh=ftz1gpKhevArZHxayl+NUrQPAz2slY3S+Hz8/Kl1DX4=; b=honEIk9yUW/0/V5J9VbuO3MOQGRQliG/bYnIbjcrBW+vZeeZlbR0wuA3B4tht1obGZ C78r3p3qVza00Torjc4FtUcg4WkT6T1IZA95Aerf5gfvTnb7O1XuT1qajWi0uOG8dQ6q Mnmx7qT2zSR3C2pIMZumwL/ctOgRTphAB+x0W7UZ9/0hWBHTzViG40x1zwam0CqNQf0t V/8pYhBuq8erjOzdaneJ+94l+pU+854x5RWvC1EKD8WeAMmyEm3xs5n7B0vWsZDC7E4i taUV9WIYiZyyiHVnxcW/Ae6z/83fVvHiTz3Ri3pGtsVv9mkULuuxpqQaaLR8EfFY0KoV 8ivQ== X-Received: by 10.58.181.201 with SMTP id dy9mr14977021vec.34.1361178188675; Mon, 18 Feb 2013 01:03:08 -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.145.101 with SMTP id st5csp78676veb; Mon, 18 Feb 2013 01:03:08 -0800 (PST) X-Received: by 10.68.136.42 with SMTP id px10mr7946095pbb.32.1361178187718; Mon, 18 Feb 2013 01:03:07 -0800 (PST) Received: from mail-pb0-f41.google.com (mail-pb0-f41.google.com [209.85.160.41]) by mx.google.com with ESMTPS id zt7si12124342pbc.62.2013.02.18.01.03.07 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 18 Feb 2013 01:03:07 -0800 (PST) Received-SPF: neutral (google.com: 209.85.160.41 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.160.41; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.41 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-f41.google.com with SMTP id um15so1580543pbc.28 for ; Mon, 18 Feb 2013 01:03:07 -0800 (PST) X-Received: by 10.66.88.37 with SMTP id bd5mr33813395pab.75.1361178187278; Mon, 18 Feb 2013 01:03:07 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id t4sm61850308pax.0.2013.02.18.01.03.03 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 18 Feb 2013 01:03:06 -0800 (PST) From: Sachin Kamat To: linux-mmc@vger.kernel.org Cc: cjb@laptop.org, jh80.chung@samsung.com, sachin.kamat@linaro.org, patches@linaro.org, tgih.jun@samsung.com Subject: [PATCH 2/2] mmc: dw_mmc: exynos: Remove unnecessary use of of_match_ptr() Date: Mon, 18 Feb 2013 14:23:09 +0530 Message-Id: <1361177589-23953-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1361177589-23953-1-git-send-email-sachin.kamat@linaro.org> References: <1361177589-23953-1-git-send-email-sachin.kamat@linaro.org> X-Gm-Message-State: ALoCoQl+oGnSbQ/FqsZGgNX11qRFbrwitfk2znRzwC6n9HSaK5N3DaPMgwslrWib6z0z3EzwTONe 'dw_mci_exynos_match' is always compiled in. Hence of_match_ptr is not required. Signed-off-by: Sachin Kamat Acked-by: Jaehoon Chung Acked-by: Seungwon Jeon --- drivers/mmc/host/dw_mmc-exynos.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mmc/host/dw_mmc-exynos.c b/drivers/mmc/host/dw_mmc-exynos.c index 5a09c77..517a603 100644 --- a/drivers/mmc/host/dw_mmc-exynos.c +++ b/drivers/mmc/host/dw_mmc-exynos.c @@ -230,7 +230,7 @@ static struct platform_driver dw_mci_exynos_pltfm_driver = { .remove = __exit_p(dw_mci_pltfm_remove), .driver = { .name = "dwmmc_exynos", - .of_match_table = of_match_ptr(dw_mci_exynos_match), + .of_match_table = dw_mci_exynos_match, .pm = &dw_mci_pltfm_pmops, }, };