Message ID | 1380370332-4453-1-git-send-email-sachin.kamat@linaro.org |
---|---|
State | Accepted |
Headers | show
Return-Path: <rtc-linux+bncBDM5LUP2XEPRBJEPTOJAKGQEJDTCABY@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-pd0-x238.google.com (mail-pd0-x238.google.com [IPv6:2607:f8b0:400e:c02::238]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 1785D2C00CC for <incoming@patchwork.ozlabs.org>; Sat, 28 Sep 2013 22:12:25 +1000 (EST) Received: by mail-pd0-f184.google.com with SMTP id g10sf758077pdj.21 for <incoming@patchwork.ozlabs.org>; Sat, 28 Sep 2013 05:12:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=mime-version:from:to:cc:subject:date:message-id:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type; bh=Pitlk9IhShoBwCXIWKd9vWN3Grm66uFpjy1hQjuZYFM=; b=R30iozJH8l1lvYklbCZfPdvHJJTk33abqcGIY7tYI+OCRcdh64dPy5FeSDu/TIzmdv 6lBKUAUc2mmnvocOIzlDuC+OMhGkLJSyc5C9dE3kM/Aq051dQrQkLvKuolrx5gGtofRp X64m8DrbRNU/1b1E/ayll20jriTP/Tn+emoCumiI6R9uVNmGljeeSzhIPCRT0QqkLdNl pPmyhB7NsijeHP31beSWfQpTLdpWsdRuYcCDVLJxaKOpgXOPmk+xEs0UsbmzCgiC+qjZ LP6kTQsqn33Y7/TX4azDcel19HGICwcdN45W5lxT5uX2C307nj1yrdRRROE0KsM/N5/0 q5oA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :sender:list-subscribe:list-unsubscribe:content-type; bh=Pitlk9IhShoBwCXIWKd9vWN3Grm66uFpjy1hQjuZYFM=; b=LzgrCajeEVXIhiVLnjlA68yYixNqRGyYaLwHW4I8btmdHDVvfjd0MjuKgvzNr4NDGE QI6FAPFAvbcb6iIoXqLxmIaSteD9+Xk1wcRUvsUz9WgX+S4c4EYKWypVxEu1EXZcahgR pyrw0u6oaNu3kJTuaBS/U2uFtAER4Quq3WW1xPCSC8HzSnUoSDlUSce1GnjuqnTP8f0d yEVHt77wNLBn68NLD9mKnX2QTJM5mv83A1hcgZCXPQsJRfzeUxapcN1z4+chYg3BNNW3 yIS6n8ONRf9nAsJ+3LxNRisNwpy4UnOWs/vLSCtKmN5T9Rf/jhPRpgl71Nl3d7Be/nVw 6PTQ== X-Received: by 10.50.73.132 with SMTP id l4mr245641igv.0.1380370342268; Sat, 28 Sep 2013 05:12:22 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.50.30.130 with SMTP id s2ls828360igh.23.gmail; Sat, 28 Sep 2013 05:12:20 -0700 (PDT) X-Received: by 10.68.136.229 with SMTP id qd5mr11461822pbb.6.1380370340837; Sat, 28 Sep 2013 05:12:20 -0700 (PDT) Received: from mail-pa0-f46.google.com (mail-pa0-f46.google.com [209.85.220.46]) by gmr-mx.google.com with ESMTPS id dk16si2197750pac.0.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 28 Sep 2013 05:12:20 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.46 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.220.46; Received: by mail-pa0-f46.google.com with SMTP id fa1so3906893pad.33 for <rtc-linux@googlegroups.com>; Sat, 28 Sep 2013 05:12:20 -0700 (PDT) X-Gm-Message-State: ALoCoQmDnGXu9UqTPvDByol19xYPxibDreH/wqyIduY1/YPvixSmmj4KO+X4f9xBfYZiHrjwCIyl X-Received: by 10.68.49.232 with SMTP id x8mr1126168pbn.167.1380370340734; Sat, 28 Sep 2013 05:12:20 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id hx1sm14697469pbb.35.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 28 Sep 2013 05:12:20 -0700 (PDT) From: Sachin Kamat <sachin.kamat@linaro.org> To: rtc-linux@googlegroups.com Cc: a.zummo@towertech.it, akpm@linux-foundation.org, sachin.kamat@linaro.org, Tony Prisk <linux@prisktech.co.nz> Subject: [rtc-linux] [PATCH 1/5] drivers/rtc/rtc-vt8500.c: Remove redundant of_match_ptr Date: Sat, 28 Sep 2013 17:42:08 +0530 Message-Id: <1380370332-4453-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.220.46 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: <rtc-linux.googlegroups.com> X-Google-Group-Id: 712029733259 List-Post: <http://groups.google.com/group/rtc-linux/post>, <mailto:rtc-linux@googlegroups.com> List-Help: <http://groups.google.com/support/>, <mailto:rtc-linux+help@googlegroups.com> List-Archive: <http://groups.google.com/group/rtc-linux> Sender: rtc-linux@googlegroups.com List-Subscribe: <http://groups.google.com/group/rtc-linux/subscribe>, <mailto:rtc-linux+subscribe@googlegroups.com> List-Unsubscribe: <http://groups.google.com/group/rtc-linux/subscribe>, <mailto:googlegroups-manage+712029733259+unsubscribe@googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1 |
diff --git a/drivers/rtc/rtc-vt8500.c b/drivers/rtc/rtc-vt8500.c index 5be217d..df2ef3e 100644 --- a/drivers/rtc/rtc-vt8500.c +++ b/drivers/rtc/rtc-vt8500.c @@ -296,7 +296,7 @@ static struct platform_driver vt8500_rtc_driver = { .driver = { .name = "vt8500-rtc", .owner = THIS_MODULE, - .of_match_table = of_match_ptr(wmt_dt_ids), + .of_match_table = wmt_dt_ids, }, };
The data structure of_match_ptr() protects is always compiled in. Hence of_match_ptr() is not needed. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Cc: Tony Prisk <linux@prisktech.co.nz> --- drivers/rtc/rtc-vt8500.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)