Message ID | 1388743668-18768-2-git-send-email-sachin.kamat@linaro.org |
---|---|
State | Accepted |
Headers | show
Return-Path: <rtc-linux+bncBDM5LUP2XEPRBWMZTKLAKGQEU2TSFQI@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-ve0-x23d.google.com (mail-ve0-x23d.google.com [IPv6:2607:f8b0:400c:c01::23d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id C55D92C00A4 for <incoming@patchwork.ozlabs.org>; Fri, 3 Jan 2014 21:11:40 +1100 (EST) Received: by mail-ve0-f189.google.com with SMTP id jx11sf3589705veb.6 for <incoming@patchwork.ozlabs.org>; Fri, 03 Jan 2014 02:11:37 -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: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=YKTE2MIUqmWRALvrHdVv499vzb5YdX2l4eV5OSrPE2E=; b=JawjLNztyZN8pJ/WUc9WWsXUot0Y4UOQI/0khJf1R+Xao5gc7mN6S6cSx2UCVGSBNj 13uiY0OkiQ7+O1sjqxkWc9a3yq5MT/dffCXJxFlGZLW8+sNeiq3j38+rHaFojbRRP7fU GIyunT9B8IixDo0LpvIm+qmw45saiDIOMp8HgE9QmEUEGISCi6P6S8lR3hf5WMKWHl0R nxli3U3MxcuHyZ93YKwjxNyKl2XMvYhBPiMtBS2++PPmDdUEyHV9QeW+CnDt6RB1hF6R 5mDr5ShTbKURLFZ5UihP/RcvI0K44vPUrpvEaNvdG03ATz1JxBmf86+wlGM+hUzBeXuz aQvA== 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=YKTE2MIUqmWRALvrHdVv499vzb5YdX2l4eV5OSrPE2E=; b=JuBXInaObMqVYDlAt/+QluqScSL9qDQ5NfKtrLRXyNnemLPBQyIdgP0XLTnLw698VJ lgZxOPpY/P0EburW7l2zvvbXcggG/yok0xZ7Tgjl/hSx1meGSBDQARNjf44bYZuqNsLG inSlbPzV42JJh1ZLgvA+1yfCQ1im9/gP9vz7CrCx3P1ZZajyOEDXPREM8jAvSWK+iTpI ar0ux5iW+Z/EsMzOxBSOiFvrpRw7MCWJUfKMe95FEPHIo2zfUlRwAMX/G0jq1BaPFZFu r1/cFBw6CRSQOSdiewv8RiPsZmh7wpFsm6pyc7LPPlD9rA8QcMv0Op2aiYIXqA+ye9qP tQ3g== X-Received: by 10.50.230.34 with SMTP id sv2mr26428igc.9.1388743897245; Fri, 03 Jan 2014 02:11:37 -0800 (PST) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.50.45.105 with SMTP id l9ls171614igm.27.canary; Fri, 03 Jan 2014 02:11:37 -0800 (PST) X-Received: by 10.66.66.109 with SMTP id e13mr34378460pat.1.1388743896965; Fri, 03 Jan 2014 02:11:36 -0800 (PST) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by gmr-mx.google.com with ESMTPS id sq4si7890318pbc.0.2014.01.03.02.11.36 for <rtc-linux@googlegroups.com> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 Jan 2014 02:11:36 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.54 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.220.54; Received: by mail-pa0-f54.google.com with SMTP id rd3so15524901pab.41 for <rtc-linux@googlegroups.com>; Fri, 03 Jan 2014 02:11:36 -0800 (PST) X-Gm-Message-State: ALoCoQm+WMhh2ygHnNJpJOUflfE6pLNepX3W1B0WgF6UHXIhaaBrk0ciCiqs95bmZs/XGPzqxUmF 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 <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 Jan 2014 02:11:36 -0800 (PST) From: Sachin Kamat <sachin.kamat@linaro.org> To: rtc-linux@googlegroups.com Cc: akpm@linux-foundation.org, sachin.kamat@linaro.org, patches@linaro.org Subject: [rtc-linux] [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-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.220.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-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,
'hym8563_dt_idtable' is always compiled in. Hence the helper macro is not needed. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> --- drivers/rtc/rtc-hym8563.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)