From patchwork Thu Sep 12 06:46:35 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 2876581 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 069149F486 for ; Thu, 12 Sep 2013 07:04:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E80CB202D9 for ; Thu, 12 Sep 2013 07:04:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BD0F22021E for ; Thu, 12 Sep 2013 07:04:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753645Ab3ILHEs (ORCPT ); Thu, 12 Sep 2013 03:04:48 -0400 Received: from mail-pd0-f171.google.com ([209.85.192.171]:50918 "EHLO mail-pd0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754786Ab3ILHEq (ORCPT ); Thu, 12 Sep 2013 03:04:46 -0400 Received: by mail-pd0-f171.google.com with SMTP id g10so10244526pdj.2 for ; Thu, 12 Sep 2013 00:04:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=OtGHngN8PEg6VSxWWXpzv+rYIGCYDezJwmyCEFRD6S4=; b=IPNz5uoePE7Mmkr42Sw0gqh7p5grv93C3ZhBkz5J9gxfaJk9Gsv7SnIml6nitxuGm1 fi2S0HMY6ph2mUwdk4Yqw2Wxiqa8ZyZd+hi95gNSp13ciBUxOLX3ecycuEv5RKnxJy1X 7muGQY62mlY2nQONv4RBuF9GYES+APnul2m4F0owdo5ny9pCicmHWtvq0LVCITAZQ+Hw oLqsY/L4B0L5/utbd1fB1xzEA6pTyjhsMORCcB+Tf1y+YB1xRL2w+DdavOt9LN7YTXmi mhSS2Z0f+xS5XK9U8QCiWJWTVSleCCR0aKOpZvkdS9LhkXf0sO4Domx+c11nHqCq/2ms FNiw== X-Gm-Message-State: ALoCoQk7tDWGH/p1ENFiG5jJvAWCOIrMeICoYQy6PIDNRcPaqFVhg1Anbx92iMgzWuDNJYnRh4mJ X-Received: by 10.66.142.42 with SMTP id rt10mr7803154pab.1.1378969486249; Thu, 12 Sep 2013 00:04:46 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id 7sm8574488paf.22.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 12 Sep 2013 00:04:45 -0700 (PDT) From: Sachin Kamat To: linux-mmc@vger.kernel.org Cc: tgih.jun@samsung.com, jh80.chung@samsung.com, cjb@laptop.org, nico@fluxnic.net, sachin.kamat@linaro.org Subject: [PATCH 2/3] mmc: dw_mmc-socfpga: Remove redundant of_match_ptr Date: Thu, 12 Sep 2013 12:16:35 +0530 Message-Id: <1378968396-18604-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1378968396-18604-1-git-send-email-sachin.kamat@linaro.org> References: <1378968396-18604-1-git-send-email-sachin.kamat@linaro.org> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 'dw_mci_socfpga_match' is always compiled in. Hence of_match_ptr is not necessary. Signed-off-by: Sachin Kamat Acked-by: Jaehoon Chung --- drivers/mmc/host/dw_mmc-socfpga.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/dw_mmc-socfpga.c b/drivers/mmc/host/dw_mmc-socfpga.c index 14b5961..5ce00b2 100644 --- a/drivers/mmc/host/dw_mmc-socfpga.c +++ b/drivers/mmc/host/dw_mmc-socfpga.c @@ -128,7 +128,7 @@ static struct platform_driver dw_mci_socfpga_pltfm_driver = { .remove = __exit_p(dw_mci_pltfm_remove), .driver = { .name = "dwmmc_socfpga", - .of_match_table = of_match_ptr(dw_mci_socfpga_match), + .of_match_table = dw_mci_socfpga_match, .pm = &dw_mci_pltfm_pmops, }, };