Message ID | 1380370332-4453-4-git-send-email-sachin.kamat@linaro.org |
---|---|
State | Accepted |
Headers | show
Return-Path: <rtc-linux+bncBDM5LUP2XEPRBLEPTOJAKGQEOF6TINY@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-ve0-x23c.google.com (mail-ve0-x23c.google.com [IPv6:2607:f8b0:400c:c01::23c]) (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 193B12C00CC for <incoming@patchwork.ozlabs.org>; Sat, 28 Sep 2013 22:12:31 +1000 (EST) Received: by mail-ve0-f188.google.com with SMTP id oy12sf736235veb.15 for <incoming@patchwork.ozlabs.org>; Sat, 28 Sep 2013 05:12:29 -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:in-reply-to :references: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=porC9U7wno3Qkao4wThxbsh9w6Bek0WMMUYUgPSsvFA=; b=NCyzSEIe2TPNhf9Twqn9PN2UkYNSLG9XAztcG4nf9aU/Dj50dUhNWDsUwUEc/yYJzl VyLKInD0vlll4ZenPYE5hH8AHJJQXOGt3U9HGHzhrPKduoV2LBcXuTZsJ18bpIsuOSDm UY3RPFQnNjTt8cm0fEWGmb5WpgGlWOnrrXOhWJDuEDuasstEYjgm/lqEQMEyxyk3SRPB 0mxUkZewNuv2/Zg2BcTejrWTSdi1elJ+MUaMuPdkKtZzoYCqFOcDdpccaHnWCNZ8K5jo SUArAtrgDxG9p1sfs08ZOe2gkNfn+eStYiwglr5ZHByqQwWVyfRHanpest3PRl3SR28a sUiw== 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 :in-reply-to:references: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=porC9U7wno3Qkao4wThxbsh9w6Bek0WMMUYUgPSsvFA=; b=QsrCPw+lcOCVp1LQl/JVy3bUxHWuYpcHUaQ4qFk4rZeLMsA8F7ktNx7UROVvpSHyqS K4X/5Pu8mbUolaXzsthEQeHpzXf/YuECgZovkazNTxeB56TRsp8Ijv29B++tZu2g4qOS U3CSZrmJd3HAm5xvrw56J6yEpkFunvpftszyeDI9W7nMzfHQCXqKrzk82Fz0Glbrh71y 1sbhqesvi5gZ5bC2EGovXV9W646dadqy/PRI0mDoFcqRn4gkSbI4DpY07tejkEp+14id ChsZa81v0oaC/58KhjUUbOFhc9SF/QUJmTSaGmqWlRyAwQu3lWGQ0f32pSQWJIyHWWm/ 1osg== X-Received: by 10.50.73.39 with SMTP id i7mr245944igv.1.1380370349072; Sat, 28 Sep 2013 05:12:29 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.50.30.170 with SMTP id t10ls917604igh.9.gmail; Sat, 28 Sep 2013 05:12:28 -0700 (PDT) X-Received: by 10.66.158.65 with SMTP id ws1mr13366874pab.5.1380370348809; Sat, 28 Sep 2013 05:12:28 -0700 (PDT) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by gmr-mx.google.com with ESMTPS id od1si1768311pbb.2.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 28 Sep 2013 05:12:28 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.54 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.160.54; Received: by mail-pb0-f54.google.com with SMTP id ro12so3636654pbb.13 for <rtc-linux@googlegroups.com>; Sat, 28 Sep 2013 05:12:28 -0700 (PDT) X-Gm-Message-State: ALoCoQltw9cQC3m8sNeW7d8uYdXd9SKPEAH/YW/eLvSBEcOjFH0qf8sG4lgtUrxwhB855KBu0O7F X-Received: by 10.66.26.112 with SMTP id k16mr16791562pag.65.1380370348720; Sat, 28 Sep 2013 05:12:28 -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:28 -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 Subject: [rtc-linux] [PATCH 4/5] drivers/rtc/rtc-snvs.c: Remove redundant of_match_ptr Date: Sat, 28 Sep 2013 17:42:11 +0530 Message-Id: <1380370332-4453-4-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1380370332-4453-1-git-send-email-sachin.kamat@linaro.org> References: <1380370332-4453-1-git-send-email-sachin.kamat@linaro.org> X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.160.54 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-snvs.c b/drivers/rtc/rtc-snvs.c index 316a342..fa384fe 100644 --- a/drivers/rtc/rtc-snvs.c +++ b/drivers/rtc/rtc-snvs.c @@ -329,7 +329,7 @@ static struct platform_driver snvs_rtc_driver = { .name = "snvs_rtc", .owner = THIS_MODULE, .pm = &snvs_rtc_pm_ops, - .of_match_table = of_match_ptr(snvs_dt_ids), + .of_match_table = snvs_dt_ids, }, .probe = snvs_rtc_probe, };
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> --- drivers/rtc/rtc-snvs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)