From patchwork Sat Sep 28 12:12:10 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 278736 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-pd0-x23f.google.com (mail-pd0-x23f.google.com [IPv6:2607:f8b0:400e:c02::23f]) (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 8686E2C00CC for ; Sat, 28 Sep 2013 22:12:28 +1000 (EST) Received: by mail-pd0-f191.google.com with SMTP id q10sf732991pdj.18 for ; Sat, 28 Sep 2013 05:12:26 -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=oB1a3K3XgIQJ2WmQ8Yp3NnswQvtsKiLbad+mQl1TA9Q=; b=RuyrstKFlJZO1e9/LJcYlsXfn8qzvakacpcPsynCtCY4M1+9/Wo2sp5xHQlW/btKpP 27004sTc9Nksw37+0i/Xo0ya9DUMqrm9cDkLZsxHw0mC3MDfPynUBxBIFdVxm0osBe4t 1VDsc4KPkLpDM6eghBi5lshZ+NJIomCSxgq1hUz8SDs4liZ09br0rEl646Wm+coDr1Zx jI4iM4Vd6BoAwCr2hd7tGj63y45AE56QT7Zftzmmsw8iz3gr/ev7A8NXszBW+FSjUi/h Xm6xeKTEkT8LWCyvIxBO2n5ICbReFx/h8CvzTsf69V3/watQqzCOgPQ4GTPbaXcDo9Ca GTrQ== 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=oB1a3K3XgIQJ2WmQ8Yp3NnswQvtsKiLbad+mQl1TA9Q=; b=f9gv07NZsdMtQD8zeW5FZl1NtcUQo4UFD+t/Y4DGL5adbcM15KQadp696uZryCW74O joUPU5Hz9GgEi0ERH3XqsP/McT82hArSk4WzqYVKs/7NkCan8fy/lEPKWZPdaD08MTGe 5W+6bKQ8lz6QPokfBd+CnOX/uAIK7zsFeHSdaFTwtSisMF0G+TRTZTLXKfZ8lq6FPhpo +iCyP2eKPlRNBzt6dPOg/GHhc1bTuU9pz/NFDtRBRx54uAYmUh4ljF2APa3oERa3UJq2 0W8iupLSgcwHxddRXXyF3YcbERlzeReTCOlJhKCFEEPpeJiSHF8MXnc2PUl3nVFlzk0k eeLQ== X-Received: by 10.50.176.202 with SMTP id ck10mr246773igc.10.1380370346488; Sat, 28 Sep 2013 05:12:26 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.50.20.193 with SMTP id p1ls891348ige.5.gmail; Sat, 28 Sep 2013 05:12:26 -0700 (PDT) X-Received: by 10.66.186.4 with SMTP id fg4mr13973555pac.33.1380370346174; Sat, 28 Sep 2013 05:12:26 -0700 (PDT) Received: from mail-pb0-f43.google.com (mail-pb0-f43.google.com [209.85.160.43]) by gmr-mx.google.com with ESMTPS id hx4si2196228pad.1.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 28 Sep 2013 05:12:26 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.43 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.160.43; Received: by mail-pb0-f43.google.com with SMTP id md4so3626530pbc.30 for ; Sat, 28 Sep 2013 05:12:26 -0700 (PDT) X-Gm-Message-State: ALoCoQlj7u/XTtlnk3XjtNKmdz4gZMphAblZ6oFx/GIVMx1pnJpi+ZlmmOCVlductox8QUMyjq0K X-Received: by 10.66.139.166 with SMTP id qz6mr17232975pab.88.1380370346066; Sat, 28 Sep 2013 05:12:26 -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:25 -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 3/5] drivers/rtc/rtc-sirfsoc.c: Remove redundant of_match_ptr Date: Sat, 28 Sep 2013 17:42:10 +0530 Message-Id: <1380370332-4453-3-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.43 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-sirfsoc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-sirfsoc.c b/drivers/rtc/rtc-sirfsoc.c index de132b4..3eb3642 100644 --- a/drivers/rtc/rtc-sirfsoc.c +++ b/drivers/rtc/rtc-sirfsoc.c @@ -458,7 +458,7 @@ static struct platform_driver sirfsoc_rtc_driver = { #ifdef CONFIG_PM .pm = &sirfsoc_rtc_pm_ops, #endif - .of_match_table = of_match_ptr(sirfsoc_rtc_of_match), + .of_match_table = sirfsoc_rtc_of_match, }, .probe = sirfsoc_rtc_probe, .remove = sirfsoc_rtc_remove,