From patchwork Sat Dec 21 10:15:27 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 3393401 Return-Path: X-Original-To: patchwork-linux-arm@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 B0CE39F32E for ; Sat, 21 Dec 2013 10:19:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AD2CC206DD for ; Sat, 21 Dec 2013 10:19:26 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7F37020638 for ; Sat, 21 Dec 2013 10:19:25 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VuJeM-00070Y-Fw; Sat, 21 Dec 2013 10:19:14 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VuJeK-0000IS-1d; Sat, 21 Dec 2013 10:19:12 +0000 Received: from mail-pa0-f49.google.com ([209.85.220.49]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VuJeH-0000I4-Js for linux-arm-kernel@lists.infradead.org; Sat, 21 Dec 2013 10:19:10 +0000 Received: by mail-pa0-f49.google.com with SMTP id kx10so3637112pab.22 for ; Sat, 21 Dec 2013 02:18:44 -0800 (PST) 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; bh=m03Il3oVsTx86zFqjfXcN/RY46aemD72KZOEyQ7u8Hs=; b=QncOOZeLYiOPaEx0EUq8JFzBLzHc5SQqZJ6CZnz/y7XuG4akaksnOA2SBqLLqyvyvi jUrWJQSSoduOYGca7+cVwaoplZU9DnbH9SxKgx0UoG/z/KNpdRtBwFxjg9GjXmuRK2dw YgMae0J3Vw9oSeFDjGWNBBG69uwiyMxyZ+f5k2i7W8wU9T0eNbgUFknp/uR1TqGVbRlp MSwA1PA7kHSvhp0TuSAS4EtvLIKHR94e0Gwrs6Cufiegpskr3Gu+lLAHsguRFyXv8svX tBXXHs5lZbZ6HX1pzpZ0d9wlm9AzxaYojpvTsMWohIkyvW1woatghz8a+dqOIK3IS2Z+ z1vQ== X-Gm-Message-State: ALoCoQkForYxn+O7vnfOoqUQ/sGOGEd4ae7VguExM2SPGnfH5JsFlkN+ydjXB7M65KIzMwLYVGgT X-Received: by 10.66.6.40 with SMTP id x8mr13897477pax.97.1387621123914; Sat, 21 Dec 2013 02:18:43 -0800 (PST) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id vf7sm20271216pbc.5.2013.12.21.02.18.41 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 21 Dec 2013 02:18:42 -0800 (PST) From: Sachin Kamat To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/1] clk: si570: Remove redundant of_match_ptr helper Date: Sat, 21 Dec 2013 15:45:27 +0530 Message-Id: <1387620927-3315-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131221_051909_751878_38220832 X-CRM114-Status: GOOD ( 10.33 ) X-Spam-Score: -2.6 (--) Cc: sachin.kamat@linaro.org, mturquette@linaro.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 'clk_si570_of_match' is always compiled in. Hence the helper macro is not needed. Signed-off-by: Sachin Kamat --- drivers/clk/clk-si570.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/clk-si570.c b/drivers/clk/clk-si570.c index 5d0ac9f8e1ee..4bbbe32585ec 100644 --- a/drivers/clk/clk-si570.c +++ b/drivers/clk/clk-si570.c @@ -517,7 +517,7 @@ MODULE_DEVICE_TABLE(of, clk_si570_of_match); static struct i2c_driver si570_driver = { .driver = { .name = "si570", - .of_match_table = of_match_ptr(clk_si570_of_match), + .of_match_table = clk_si570_of_match, }, .probe = si570_probe, .remove = si570_remove,