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: 2156621 Return-Path: X-Original-To: patchwork-linux-mmc@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 387203FCFC for ; Mon, 18 Feb 2013 09:03:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751995Ab3BRJDJ (ORCPT ); Mon, 18 Feb 2013 04:03:09 -0500 Received: from mail-da0-f43.google.com ([209.85.210.43]:54031 "EHLO mail-da0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751690Ab3BRJDH (ORCPT ); Mon, 18 Feb 2013 04:03:07 -0500 Received: by mail-da0-f43.google.com with SMTP id u36so2423454dak.16 for ; Mon, 18 Feb 2013 01:03: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:in-reply-to :references:x-gm-message-state; bh=ftz1gpKhevArZHxayl+NUrQPAz2slY3S+Hz8/Kl1DX4=; b=UeKk98382m+3Ut955XL43UXFFCEFik4g1H6SovDJ9hOYC1SlqgjZeLcE2YOmoHmU4H aWNQK38g8tRzrLqTqaiMFac9ndTg2ji2RebFegwwV9xDQc5By25+ZlFAlrtykCbtJOFL UfVaVEmNpHpoUJwW/as3QkihmRbotVQUfkeioG/NFVIQyFiNN3p4ccVe4SxokLYeL6Ub WTq6yXRx7og0noqhCGgoXHq7lwh8j8ZJHQDtOGXmlOvMY7591G7ClSD1BAC92RFpUppz SjBNS77farIyDOWu2yX+hcSP3nwXnNSNcuGrkdO0ZgU438MiETUF8Vcg28qmIVff0Gjt +YPw== 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: ALoCoQnn/lwPlwcA8LTVdBaPLb2iNw6Vj7fdeYosZEKEufTtF3jcnE3Aqa8J3oao44+KLRkKx+2W Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org '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, }, };