Message ID | 1387613341-21855-1-git-send-email-sachin.kamat@linaro.org |
---|---|
State | Superseded |
Headers | show
Return-Path: <rtc-linux+bncBDM5LUP2XEPRBYU22WKQKGQE7XW67RY@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-oa0-x237.google.com (mail-oa0-x237.google.com [IPv6:2607:f8b0:4003:c02::237]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 5B9AA2C00AE for <incoming@patchwork.ozlabs.org>; Sat, 21 Dec 2013 19:12:21 +1100 (EST) Received: by mail-oa0-f55.google.com with SMTP id l6sf584700oag.0 for <incoming@patchwork.ozlabs.org>; Sat, 21 Dec 2013 00:12:18 -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=OE/jkQYbgEXTzm1TNqSCCTIV2WUi/26vOLZUTychIiTXkMw5SbOKD3tu/jDLiFyZdZ 6UjMQeOtCeq4j3+BtuhODqphDjxzIDvizGbQr31D/sx1ronI7aoioKwoQtfOYM332+jX oaIb1KBh1V/2KbfbDVOz0RmBI1NPyRCnt3cFhFoTQggypTku8ptt2ZcBugcFe0+Pyft8 ZF9BHu+czrfiYehhJ/mBWwQZIin6aHZgzqL8dw3Ur3jdCFkd44EMW5fdzCC2Po5i3yF7 TfUvb8UdeIsHdr0Lg5fvdIj1dddjwiIPNYSgcEH3H8+cwO9P+B1Z5k61NVV2weRd/Mun CKQA== 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=i8FxcLKgfvxy7pn3MxXeIIVy6WQm0qcN407NagXKxnn2uhm4+7KbtByLL71q50gWLz yXImwg0l9yZhkAgqPyac6dr+BccdLlnYRZBmxR/Lp0AJBjx/+DEmvpnc/OuqOgOyCTsN 4VsVy2oxT1pyNP8QvjX97kgJPvLXhD4AaYUSt2QYe1lgISkVqpcM1Sn3ftOlMEXNwYV4 I2ukro9d7C/Nf1q2BfLj0xUaevdRZEbOPYdId1qInce+cXPAtdGKfQd3arJaGUHTVF9l L3cEZSqrljT/1v/NbfTCCwMJcB46h7E1xkPHr7aRVpMItW8XprWwJzt3mTeQBGoFVDSE nHnw== X-Received: by 10.182.243.131 with SMTP id wy3mr7176obc.17.1387613538551; Sat, 21 Dec 2013 00:12:18 -0800 (PST) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.183.3.38 with SMTP id bt6ls482840obd.72.gmail; Sat, 21 Dec 2013 00:12:18 -0800 (PST) X-Received: by 10.182.146.44 with SMTP id sz12mr5334051obb.17.1387613538302; Sat, 21 Dec 2013 00:12:18 -0800 (PST) Received: from mail-pa0-f53.google.com (mail-pa0-f53.google.com [209.85.220.53]) by gmr-mx.google.com with ESMTPS id od1si1767832pbb.2.2013.12.21.00.12.18 for <rtc-linux@googlegroups.com> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 21 Dec 2013 00:12:18 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.53 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.220.53; Received: by mail-pa0-f53.google.com with SMTP id hz1so3544536pad.26 for <rtc-linux@googlegroups.com>; Sat, 21 Dec 2013 00:12:18 -0800 (PST) X-Gm-Message-State: ALoCoQl1Ed7qa2ovBd8f4dLFfX3Xqc4YYtFjClstTD++n6yQBD8EdlbY7QKyujqgjC7NdrNLMG/c X-Received: by 10.66.144.102 with SMTP id sl6mr13481394pab.96.1387613538016; Sat, 21 Dec 2013 00:12:18 -0800 (PST) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id dq3sm19422639pbc.35.2013.12.21.00.12.15 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 21 Dec 2013 00:12:17 -0800 (PST) From: Sachin Kamat <sachin.kamat@linaro.org> To: rtc-linux@googlegroups.com Cc: a.zummo@towertech.it, akpm@linux-foundation.org, sachin.kamat@linaro.org Subject: [rtc-linux] [PATCH 1/3] drivers/rtc/rtc-ds1742.c: Remove redundant of_match_ptr helper Date: Sat, 21 Dec 2013 13:38:59 +0530 Message-Id: <1387613341-21855-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.220.53 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-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, }, };
'ds1742_rtc_of_match' is always compiled in. Hence the helper macro is not needed. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> --- drivers/rtc/rtc-ds1742.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)