From patchwork Fri Jan 3 10:07:46 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 306525 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-qc0-x239.google.com (mail-qc0-x239.google.com [IPv6:2607:f8b0:400d:c01::239]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id C49572C0082 for ; Fri, 3 Jan 2014 21:11:39 +1100 (EST) Received: by mail-qc0-f185.google.com with SMTP id i17sf3513130qcy.22 for ; Fri, 03 Jan 2014 02:11:36 -0800 (PST) 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=awDhiZABSZIQy/Nv4C6J/+1zcijnrujVJSniSxnc8D8=; b=FQxe9NOFlaVsGWo0cqILjmjU6cRd5yGZDwpqQP0xXXC3fAplBa5uzjcIOBy57Wb4cU wmhSREI1W4lX+s95EbR5KbzpSybCXbMY8UKkVgDE48gMbnGF0m6u+NuYbD5EuMosUs2s tPp8yiIuFpEdxSOyz0uJiwXJRNOMC23bAwzlQ0sU/AO8ywhYNZyJFhLr52qfec6v/a+v 4rQ4Qqjq5ykE8Dm+dwityrxjj3jS9W5a7ZRvUkDnF5Kkosk6gwVKOyb0xxU6UIGegzfz KvN5Ij1UCpxLi12FNvd+oUITXHfbWUux2m5cnnNRCqd7ZCNMqzRO3PayMo9gcMmXqh7C mHuQ== 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=awDhiZABSZIQy/Nv4C6J/+1zcijnrujVJSniSxnc8D8=; b=kSrxfLv3Q8VR+hS3OXZD7VWeXSOJEeGBEAm63BsAMXXGizuz6jDYYt6/fFpARyOK+o Pmwyy430AyT1x8aEi3qd/THQK2eR6D/tekW99wlYYr8pUpjtsfCEcyWjtkD/GrJe8kJH e6b1AzSWYIzG8ZcwxA6CAfKxcBTsC7WXPVsYlwYGY24BAPkm2OQCCQjtvV3q85+6XzMX FMf1XZT3CGufTjpvD+z5ou4U1bKVRTsbu0iOZzqZ2NdvXVMVY/DR2UaqR1Nqs5HPTocW AKXk3kt9hIYWRvSAckzZP9hRJIPrgxkluhMqoNCcIU1vrfciMV5w4Tqv6UALQA37T+t8 HE/A== X-Received: by 10.50.66.101 with SMTP id e5mr27952igt.12.1388743896301; Fri, 03 Jan 2014 02:11:36 -0800 (PST) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.50.122.74 with SMTP id lq10ls163052igb.36.canary; Fri, 03 Jan 2014 02:11:34 -0800 (PST) X-Received: by 10.66.65.109 with SMTP id w13mr34754063pas.21.1388743894901; Fri, 03 Jan 2014 02:11:34 -0800 (PST) Received: from mail-pd0-f169.google.com (mail-pd0-f169.google.com [209.85.192.169]) by gmr-mx.google.com with ESMTPS id sq4si7890306pbc.0.2014.01.03.02.11.34 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 Jan 2014 02:11:34 -0800 (PST) Received-SPF: neutral (google.com: 209.85.192.169 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.192.169; Received: by mail-pd0-f169.google.com with SMTP id v10so15252631pde.0 for ; Fri, 03 Jan 2014 02:11:34 -0800 (PST) X-Gm-Message-State: ALoCoQl+OgmYblf8cZRiWNTu3coibwvr0c10w264SC2dBTU4cNbMxcTk2/M9UY/Giy78S5vUbao7 X-Received: by 10.67.22.67 with SMTP id hq3mr93157737pad.132.1388743894329; Fri, 03 Jan 2014 02:11:34 -0800 (PST) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id ha10sm107769835pbd.17.2014.01.03.02.11.31 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 Jan 2014 02:11:33 -0800 (PST) From: Sachin Kamat To: rtc-linux@googlegroups.com Cc: akpm@linux-foundation.org, sachin.kamat@linaro.org, patches@linaro.org Subject: [rtc-linux] [PATCH Resend 1/3] drivers/rtc/rtc-ds1742.c: Remove redundant of_match_ptr helper Date: Fri, 3 Jan 2014 15:37:46 +0530 Message-Id: <1388743668-18768-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.192.169 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: , 'ds1742_rtc_of_match' is always compiled in. Hence the helper macro is not needed. Signed-off-by: Sachin Kamat --- drivers/rtc/rtc-ds1742.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-ds1742.c b/drivers/rtc/rtc-ds1742.c index d7f74f5e9090..5a1f3b2a8f1e 100644 --- a/drivers/rtc/rtc-ds1742.c +++ b/drivers/rtc/rtc-ds1742.c @@ -228,7 +228,7 @@ static struct platform_driver ds1742_rtc_driver = { .driver = { .name = "rtc-ds1742", .owner = THIS_MODULE, - .of_match_table = of_match_ptr(ds1742_rtc_of_match), + .of_match_table = ds1742_rtc_of_match, }, };