From patchwork Sat Sep 28 12:12:09 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 278735 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-pd0-x240.google.com (mail-pd0-x240.google.com [IPv6:2607:f8b0:400e:c02::240]) (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 179122C00F8 for ; Sat, 28 Sep 2013 22:12:25 +1000 (EST) Received: by mail-pd0-f192.google.com with SMTP id z10sf762946pdj.9 for ; Sat, 28 Sep 2013 05:12:23 -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=ouZgJrUcyt+m5M6hz6s0sAPuMvU0msJX27dF3G7kHxE=; b=OfqXUX+0AEvDcK2ZvmsJGdVMAVRYauKrp0lg6UP/GAKYaA0KxTJIZ3d4p77Am37CLs C6qt4w3BU29cRXBT6JfWYYHZSpU7lxSFtFquGJXPGK0XMswn5+bzqyc7FwN3DgKoUclx vN8cAwo6DLQ/BH6/A3Uo7xc0iDLaYd6ZUEofgHYv6UJ6BEusDLJfj3Lv2CxOcwXY+fWO MneDbFMO3AenoWVhndAYnoRYwrpuz5oErt6Zw2spY/iNPF4ayf9ZZBxHVVx5MPeCJuvW C7BtemCE2WL4cyl7qlu8FeP3Y/yTqpFl/LDrneiEtiHV3SLIfnQCqNpJhwIqHuoZMO3J N67Q== 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=ouZgJrUcyt+m5M6hz6s0sAPuMvU0msJX27dF3G7kHxE=; b=Zvp9pvxcLRiXTZuR4a121BTP6NzJr9oZrWmxx2/qCgRcrF1sLvUjs8WmJa2vp5NN+h kdkreVaR7nPZPsqlZ5rVgzNwwXI809uUN9kHHYNjRTmQUJ0pH0mTc6aIUNQqdbzNoISQ BnIvSYIW7CBSKmj5uJBFDDTP9uT9hLZRP8E8UA/q1xvfsl0aCCB+eYKf9OPBeq5shP4t dN5GUzj0GIkYpn5tc0eVFhjqLq1vghQdXizI0IpvDH1IwZ/qdhmCYN4KW3yWbJUJF0oy aZ8ylBW+iQLQKLoAJvZatbeMcF2lziKpiq/9cxvpzLOLdyfeAxGI4BvN7b9SR0XoXF5A r5Fw== X-Received: by 10.50.176.202 with SMTP id ck10mr246770igc.10.1380370343853; Sat, 28 Sep 2013 05:12:23 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.50.131.163 with SMTP id on3ls835198igb.19.gmail; Sat, 28 Sep 2013 05:12:23 -0700 (PDT) X-Received: by 10.68.212.130 with SMTP id nk2mr10165978pbc.1.1380370343592; Sat, 28 Sep 2013 05:12:23 -0700 (PDT) Received: from mail-pd0-f180.google.com (mail-pd0-f180.google.com [209.85.192.180]) by gmr-mx.google.com with ESMTPS id dk16si2198032pac.0.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 28 Sep 2013 05:12:23 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.180 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.192.180; Received: by mail-pd0-f180.google.com with SMTP id y10so3690754pdj.11 for ; Sat, 28 Sep 2013 05:12:23 -0700 (PDT) X-Gm-Message-State: ALoCoQltof2ulcRTKuaQIXgDgzAJKiJQlVEC5bQTv40CnAP38s4wF1IgNGsgrJNdZj+PZXpYu4Oy X-Received: by 10.68.255.36 with SMTP id an4mr12843373pbd.154.1380370343503; Sat, 28 Sep 2013 05:12:23 -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:23 -0700 (PDT) From: Sachin Kamat To: rtc-linux@googlegroups.com Cc: a.zummo@towertech.it, akpm@linux-foundation.org, sachin.kamat@linaro.org Subject: [rtc-linux] [PATCH 2/5] drivers/rtc/rtc-omap.c: Remove redundant of_match_ptr Date: Sat, 28 Sep 2013 17:42:09 +0530 Message-Id: <1380370332-4453-2-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.192.180 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: X-Google-Group-Id: 712029733259 List-Post: , List-Help: , List-Archive: Sender: rtc-linux@googlegroups.com List-Subscribe: , List-Unsubscribe: , The data structure of_match_ptr() protects is always compiled in. Hence of_match_ptr() is not needed. Signed-off-by: Sachin Kamat --- drivers/rtc/rtc-omap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-omap.c b/drivers/rtc/rtc-omap.c index c7d97ee..26de5f8 100644 --- a/drivers/rtc/rtc-omap.c +++ b/drivers/rtc/rtc-omap.c @@ -553,7 +553,7 @@ static struct platform_driver omap_rtc_driver = { .name = DRIVER_NAME, .owner = THIS_MODULE, .pm = &omap_rtc_pm_ops, - .of_match_table = of_match_ptr(omap_rtc_of_match), + .of_match_table = omap_rtc_of_match, }, .id_table = omap_rtc_devtype, };