From patchwork Fri Jan 3 10:07:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 22887 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f198.google.com (mail-ob0-f198.google.com [209.85.214.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5024E218E6 for ; Fri, 3 Jan 2014 10:11:42 +0000 (UTC) Received: by mail-ob0-f198.google.com with SMTP id wo20sf73083711obc.5 for ; Fri, 03 Jan 2014 02:11:41 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=QGgLJKVmiN3UzJwwrTxUDzNBcrR9n0YIE/uHKceKu7A=; b=lo5Acqv9RqkevJNwR9k7ikxYSW1/1MlsrAxt69xAwQ/skIi+WEzJzif27Oplz6zFKd 1E7WYwvW/Oxe2l+vREAFf3UqkksKjKX2c3d2xgqygmqtFCsXyYWY5slVsfLtuVVxP6Zf XlqgqqrsrWxB1GLbZKnczzHzIuTM47S0aCzyKb1cLcoYprqSFJRMECWcZY7bACqRFtVq u6KVgXIAvB80fmVvi0ZuXQ3QCWzxP54Pu9XACCV/9yd3bs8H842qf+i9Kr9Fec7uqqiV ki9jV37d0UdJ3zKs6ftoAAdAi3p2F+YPT3WauR2WCHfqKdvnn3zHUewoAQ8Oo9mJAxLG ZWiw== X-Gm-Message-State: ALoCoQnqKgUJtogztLrjDmcsj6XeyopnjD7W9RoqqfwwGTS9LBwd7lk94TO04RoKywTqqbR26+DT X-Received: by 10.50.62.14 with SMTP id u14mr785686igr.5.1388743901134; Fri, 03 Jan 2014 02:11:41 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.61.229 with SMTP id t5ls5156501qer.53.gmail; Fri, 03 Jan 2014 02:11:41 -0800 (PST) X-Received: by 10.220.99.72 with SMTP id t8mr50621194vcn.10.1388743901003; Fri, 03 Jan 2014 02:11:41 -0800 (PST) Received: from mail-vb0-f50.google.com (mail-vb0-f50.google.com [209.85.212.50]) by mx.google.com with ESMTPS id sc7si3247507vdc.147.2014.01.03.02.11.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 Jan 2014 02:11:40 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.50 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.50; Received: by mail-vb0-f50.google.com with SMTP id w18so7641358vbj.37 for ; Fri, 03 Jan 2014 02:11:40 -0800 (PST) X-Received: by 10.52.33.178 with SMTP id s18mr721785vdi.39.1388743900891; Fri, 03 Jan 2014 02:11:40 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.59.13.131 with SMTP id ey3csp818901ved; Fri, 3 Jan 2014 02:11:39 -0800 (PST) X-Received: by 10.66.231.6 with SMTP id tc6mr95103307pac.68.1388743899337; Fri, 03 Jan 2014 02:11:39 -0800 (PST) Received: from mail-pa0-f44.google.com (mail-pa0-f44.google.com [209.85.220.44]) by mx.google.com with ESMTPS id ph10si45263390pbb.19.2014.01.03.02.11.36 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 Jan 2014 02:11:37 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.44 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.220.44; Received: by mail-pa0-f44.google.com with SMTP id fa1so15570524pad.17 for ; Fri, 03 Jan 2014 02:11:36 -0800 (PST) X-Received: by 10.68.108.130 with SMTP id hk2mr9457070pbb.16.1388743896880; Fri, 03 Jan 2014 02:11:36 -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.34 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 Jan 2014 02:11:36 -0800 (PST) From: Sachin Kamat To: rtc-linux@googlegroups.com Cc: akpm@linux-foundation.org, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH Resend 2/3] drivers/rtc/rtc-hym8563.c: Remove redundant of_match_ptr helper Date: Fri, 3 Jan 2014 15:37:47 +0530 Message-Id: <1388743668-18768-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1388743668-18768-1-git-send-email-sachin.kamat@linaro.org> References: <1388743668-18768-1-git-send-email-sachin.kamat@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.50 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 'hym8563_dt_idtable' is always compiled in. Hence the helper macro is not needed. Signed-off-by: Sachin Kamat --- drivers/rtc/rtc-hym8563.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-hym8563.c b/drivers/rtc/rtc-hym8563.c index b56e3d3fbfd3..6118000b787a 100644 --- a/drivers/rtc/rtc-hym8563.c +++ b/drivers/rtc/rtc-hym8563.c @@ -593,7 +593,7 @@ static struct i2c_driver hym8563_driver = { .name = "rtc-hym8563", .owner = THIS_MODULE, .pm = &hym8563_pm_ops, - .of_match_table = of_match_ptr(hym8563_dt_idtable), + .of_match_table = hym8563_dt_idtable, }, .probe = hym8563_probe, .id_table = hym8563_id,