Message ID | 1386669064-24056-1-git-send-email-sachin.kamat@linaro.org |
---|---|
State | Rejected |
Headers | show
Return-Path: <rtc-linux+bncBDM5LUP2XEPRBPOJTOKQKGQEG5A75ZA@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-pd0-x23d.google.com (mail-pd0-x23d.google.com [IPv6:2607:f8b0:400e:c02::23d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 824A42C00BB for <incoming@patchwork.ozlabs.org>; Tue, 10 Dec 2013 20:54:09 +1100 (EST) Received: by mail-pd0-f189.google.com with SMTP id p10sf1356708pdj.6 for <incoming@patchwork.ozlabs.org>; Tue, 10 Dec 2013 01:54:06 -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=WGk8vjfox2y4RrOt7z+rTdmcYMUexg0gDUe99uuIRuw=; b=Uy939cTAr6TxV6KEhmGBzKFZyg4sZk93qFcjpLz8Omw+sJi7tCToriGtLSMG4lR+iH KyK0E83xT66yfQXyRQKtmJbiuVYY3H+t7iHRB3cFea/Fn5WfrHNUv4WiF3lsM/2ZX0GC TpCKe81lgmMCWO3cjNt5TxLfAU5rqB4aVKUvvu+ynPn8M2tMxopZEertTELQuSGaiYt0 NGQikUZX8ygK/HZfEK/PUs+JwVbzTXdC/7Lt/RzwCqSTf4lCm4M+I4LM2CGukdGjaFWd hHAI87R7Cp3cwSj0bsnyH4VAhntXRsJdTr5mCSK+GetHGVJULSm4/l5G8I0y7/D21g0p ssqw== 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=WGk8vjfox2y4RrOt7z+rTdmcYMUexg0gDUe99uuIRuw=; b=iLG9eF3iAurxszK4NcTp738HjqLjIpHPO0rflHKlLcPQiEtOuFO1y5Zv1HOonCEiLu ePQjdx5smX0RjwXMGNeRFhfE+WXRxn+81KZ/LrtkUFtlvcNgZe/bMdAwA7n6nSQh2dxL QSwKJxtkA1ZvX4FTR4o3b8jJxxj9UWyIuhyr8w6HBIvBxagYk4AjrsDYIS3+Y+4gjWa9 fobqKMSxOPb+dC3XxCBDOt1+Fa8ys+epKrtUlKM353jXbtW4ChgtD+SC1Xve57TXWtRB sirY8we/tBg7e5QTsncyA+z4fYuxGbzbZYFTHd9o++WD31slQzoP9TuVGEDLXYm5jjCa kaxg== X-Received: by 10.182.118.138 with SMTP id km10mr8500obb.27.1386669245914; Tue, 10 Dec 2013 01:54:05 -0800 (PST) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.182.191.103 with SMTP id gx7ls1113826obc.25.gmail; Tue, 10 Dec 2013 01:54:05 -0800 (PST) X-Received: by 10.183.3.36 with SMTP id bt4mr8277596obd.29.1386669245546; Tue, 10 Dec 2013 01:54:05 -0800 (PST) Received: from mail-pd0-f172.google.com (mail-pd0-f172.google.com [209.85.192.172]) by gmr-mx.google.com with ESMTPS id ns3si3429622pbc.1.2013.12.10.01.54.05 for <rtc-linux@googlegroups.com> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Dec 2013 01:54:05 -0800 (PST) Received-SPF: neutral (google.com: 209.85.192.172 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.192.172; Received: by mail-pd0-f172.google.com with SMTP id g10so7041496pdj.3 for <rtc-linux@googlegroups.com>; Tue, 10 Dec 2013 01:54:05 -0800 (PST) X-Gm-Message-State: ALoCoQmrfPjDopa9yVaTgsuSz9F7OY5X3gtqlBgkLcGOg4Vh+bvWAMSCGUpJ1nft3X/UfbbAGNt4 X-Received: by 10.66.139.100 with SMTP id qx4mr26857608pab.141.1386669245234; Tue, 10 Dec 2013 01:54:05 -0800 (PST) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id xe9sm33512041pab.0.2013.12.10.01.54.02 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Dec 2013 01:54:04 -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/1] drivers/rtc/rtc-ds1305.c: Remove redundant spi_set_drvdata Date: Tue, 10 Dec 2013 15:21:04 +0530 Message-Id: <1386669064-24056-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.172 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-ds1305.c b/drivers/rtc/rtc-ds1305.c index 80f323731ee2..2dd586a19b59 100644 --- a/drivers/rtc/rtc-ds1305.c +++ b/drivers/rtc/rtc-ds1305.c @@ -787,7 +787,6 @@ static int ds1305_remove(struct spi_device *spi) cancel_work_sync(&ds1305->work); } - spi_set_drvdata(spi, NULL); return 0; }
Driver core sets driver data to NULL upon failure or remove. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> --- drivers/rtc/rtc-ds1305.c | 1 - 1 file changed, 1 deletion(-)