From patchwork Mon Mar 18 09:41:14 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 228427 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:4978:20e::2]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id CD3022C00C7 for ; Mon, 18 Mar 2013 20:53:24 +1100 (EST) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UHWkD-0005uv-2g; Mon, 18 Mar 2013 09:52:41 +0000 Received: from mail-pb0-f49.google.com ([209.85.160.49]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UHWjz-0005rL-5D for linux-mtd@lists.infradead.org; Mon, 18 Mar 2013 09:52:28 +0000 Received: by mail-pb0-f49.google.com with SMTP id xa12so6333131pbc.36 for ; Mon, 18 Mar 2013 02:52:26 -0700 (PDT) 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=qgFXs0FyiwSS9+96ielwLScWZ+lnFekdQ9y3rE7XTXo=; b=Zdh4UhTZ8Ln7HnFT6f3Jwq3qnl5VaJv6MvRdCoKTnVjmt4tLATu0HmBBwUjAyx+96L uAZ7pyCjXkrp/0rAimze5pUwEV53aKhSlMXI5vn2SnfNq5x1dz4Ne24870SSkWqApNoC Xw0cva7uaowI+Petrhm1DtVBPub3uo7CgYn0GX1tJxvSu/06y8yuUesKbP8wteJ/rnmO yaSrccPsxjOkhlyMFUQye3PDPpFRixgt3dPWdfRdK3ay/45baDVcd61ug6FkhksQjT7c 2voAQsGS6olWXClEbBO64g1B0+Z/p40/v/himxp7DHK8tXsmGOvj5URhzXeRtTcaJe2W Ns7g== X-Received: by 10.66.116.239 with SMTP id jz15mr9584719pab.132.1363600346079; Mon, 18 Mar 2013 02:52:26 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id 1sm19643238pbg.18.2013.03.18.02.52.23 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 18 Mar 2013 02:52:25 -0700 (PDT) From: Sachin Kamat To: linux-mtd@lists.infradead.org Subject: [PATCH 4/4] mtd: denali_dt: Remove redundant use of of_match_ptr Date: Mon, 18 Mar 2013 15:11:14 +0530 Message-Id: <1363599674-26933-4-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1363599674-26933-1-git-send-email-sachin.kamat@linaro.org> References: <1363599674-26933-1-git-send-email-sachin.kamat@linaro.org> X-Gm-Message-State: ALoCoQlhvGIWPnt4zTKAHykSy2Ub9MUjJCGUQK6MK6LGfTunDcjFLA/VsGj/yurbOO3PIF/6lACg X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130318_055227_476650_56267331 X-CRM114-Status: GOOD ( 11.64 ) X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.160.49 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: sachin.kamat@linaro.org, artem.bityutskiy@linux.intel.com, dwmw2@infradead.org, dinguyen@altera.com, dedekind1@gmail.com X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Since this driver is dt only and denali_nand_dt_ids is always compiled in, use of of_match_ptr() macro is not necessary. Signed-off-by: Sachin Kamat Reviewed-by: Dinh Nguyen --- drivers/mtd/nand/denali_dt.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mtd/nand/denali_dt.c b/drivers/mtd/nand/denali_dt.c index 067a505..9253024 100644 --- a/drivers/mtd/nand/denali_dt.c +++ b/drivers/mtd/nand/denali_dt.c @@ -146,7 +146,7 @@ static struct platform_driver denali_dt_driver = { .driver = { .name = "denali-nand-dt", .owner = THIS_MODULE, - .of_match_table = of_match_ptr(denali_nand_dt_ids), + .of_match_table = denali_nand_dt_ids, }, };