Message ID | 1388743668-18768-1-git-send-email-sachin.kamat@linaro.org |
---|---|
State | Accepted |
Headers | show
Return-Path: <patchwork-forward+bncBDM5LUP2XEPRBWEZTKLAKGQEEZRAO5Q@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pb0-f69.google.com (mail-pb0-f69.google.com [209.85.160.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1E2BB218E6 for <linaro@patches.linaro.org>; Fri, 3 Jan 2014 10:11:37 +0000 (UTC) Received: by mail-pb0-f69.google.com with SMTP id md12sf47599852pbc.4 for <linaro@patches.linaro.org>; Fri, 03 Jan 2014 02:11:36 -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:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=scTF8FWa4CoBbc2o8Ctx5UIo7MU/AsfBEyHsBCPReEA=; b=ctzaONTqSnIIzNwKLKC2qDOWS03s0SYgUVLUReWSA9Ikh87iPdDKeIqrmtLV6VvUnj R4CEBgXH0MWZiePXwr5P75R/27pepX6wwMAaAB1FxjobOvYfXUn6rUi+ZyZBM2GbRDZb pe7aNIiinHKQbUwIMot9exZkTx9p+E5UcP02QlOQgkD6JcfILpZzBlzeJ7/8sRBIzwKI VQ3ZR3cErw5waOvnAVwAAI2h+IC6aC3PUee6o0JvnhEWhUvHiMYry3atv1O1Wyxufh6Y ihclCAFLdjTh2DlaWZG5f8CEVykJ1HFAlDhJCt5Dk3FkV9WYdZ5fSfAEUYTPrLXp/ie9 7tMg== X-Gm-Message-State: ALoCoQk17zUGNInFEWZUdGAmbPn7SncW2lg9/3xaE65Xni6ED3Ai202pph15dfjqNHjHYx6VRYq/ X-Received: by 10.68.197.137 with SMTP id iu9mr35606059pbc.3.1388743896101; Fri, 03 Jan 2014 02:11:36 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.15.70 with SMTP id v6ls257143qec.47.gmail; Fri, 03 Jan 2014 02:11:36 -0800 (PST) X-Received: by 10.59.0.193 with SMTP id ba1mr7330989ved.12.1388743895989; Fri, 03 Jan 2014 02:11:35 -0800 (PST) Received: from mail-vc0-f171.google.com (mail-vc0-f171.google.com [209.85.220.171]) by mx.google.com with ESMTPS id io6si9220896vdb.13.2014.01.03.02.11.35 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 Jan 2014 02:11:35 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.171 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.171; Received: by mail-vc0-f171.google.com with SMTP id ik5so7746061vcb.30 for <patchwork-forward@linaro.org>; Fri, 03 Jan 2014 02:11:35 -0800 (PST) X-Received: by 10.58.186.198 with SMTP id fm6mr40869224vec.16.1388743895902; Fri, 03 Jan 2014 02:11:35 -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 ey3csp818899ved; Fri, 3 Jan 2014 02:11:35 -0800 (PST) X-Received: by 10.68.200.129 with SMTP id js1mr94111778pbc.14.1388743895072; Fri, 03 Jan 2014 02:11:35 -0800 (PST) Received: from mail-pb0-f42.google.com (mail-pb0-f42.google.com [209.85.160.42]) by mx.google.com with ESMTPS id n8si45308756pax.131.2014.01.03.02.11.34 for <patches@linaro.org> (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.160.42 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.160.42; Received: by mail-pb0-f42.google.com with SMTP id uo5so15639116pbc.1 for <patches@linaro.org>; Fri, 03 Jan 2014 02:11:34 -0800 (PST) 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 <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 Jan 2014 02:11:33 -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: [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-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.220.171 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: <patchwork-forward.linaro.org> X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> |
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(-)