From patchwork Thu May 23 10:35:45 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 245885 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-qe0-f60.google.com (mail-qe0-f60.google.com [209.85.128.60]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 732C22C0090 for ; Thu, 23 May 2013 20:50:10 +1000 (EST) Received: by mail-qe0-f60.google.com with SMTP id 2sf629732qea.15 for ; Thu, 23 May 2013 03:50:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=mime-version:x-beenthere:from:to:cc:subject:date:message-id :x-mailer:in-reply-to:references:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type; bh=ama1fClWbmHcUyq/O9LbeE7tLSPo38uqHEiVCEzX3Ak=; b=H++Rpauksil+pIWM+PVeFzsSL8BPRd/oepSff68XUbgwsVhIYjZdzzL+/kB5Ers4Jp nNAvuyGhEMM6662M/lCWWW7rguxfV385L/oHrVS6/Bpv2ntdJlxoj0d2I3AomNyVRqrk Vu0e3xxrzPr8iok+gpIvOJ7wFJA4ljoGmR0R6ZU6H+no7Tc9L49iciWKnQTXu59stKqB dMRTEIwBLWvLYfzCRrIoxruTW4bDewFpIGtwiFmTE9s3uBOmt3Py/dj2dCVPcaCna8kh drq8C2jlAMlsxEn8sWnwEXgkV0/JifLrJa6n3VV9JMqXAl9RsP4iOwirKvwPCDS5mEhh vT2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-beenthere:from:to:cc:subject:date:message-id :x-mailer:in-reply-to:references:x-gm-message-state :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-google-group-id:list-post :list-help:list-archive:sender:list-subscribe:list-unsubscribe :content-type; bh=ama1fClWbmHcUyq/O9LbeE7tLSPo38uqHEiVCEzX3Ak=; b=VXqH2o5yJuL0nc2gOkzEsHSzg1bgibiifwEQ3DxNRjbWmfSBpglHI22/UsaO+Stp+w GePcuRKc7+vRt9gEwvICHp7jiPb2Ekd7FhtKMKawjNl8R4kdCNP8ZUF5yJXEcazPcJD2 bm7/UN9FS0OfbHVz4rhg7H4OGXpNRmJr2owF1KIwlAZj0ZIpx1z77lpooJUEo+V7L30x C9E9zGyM/2zuk+GzUFtQue8U641+6ivp5g+WzUdy82iL45D0vlX5jIcmHm7BNGA4oLsU Ckw6rxwFFjvLV6xZZzcg6yRQoSyQ7NMLIs0FmF8+Ct1Ep1FocGvCkrlNb7IxFJupxlb5 laGw== X-Received: by 10.50.109.228 with SMTP id hv4mr1291434igb.2.1369306207979; Thu, 23 May 2013 03:50:07 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.50.157.170 with SMTP id wn10ls1510715igb.31.gmail; Thu, 23 May 2013 03:50:07 -0700 (PDT) X-Received: by 10.66.252.170 with SMTP id zt10mr1570155pac.45.1369306207678; Thu, 23 May 2013 03:50:07 -0700 (PDT) Received: from mail-pa0-f41.google.com (mail-pa0-f41.google.com [209.85.220.41]) by gmr-mx.google.com with ESMTPS id xb6si1869492pab.0.2013.05.23.03.50.07 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:50:07 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.41 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.220.41; Received: by mail-pa0-f41.google.com with SMTP id rl6so2828592pac.0 for ; Thu, 23 May 2013 03:50:07 -0700 (PDT) X-Received: by 10.68.239.228 with SMTP id vv4mr12238897pbc.5.1369306207581; Thu, 23 May 2013 03:50:07 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id xu10sm12361273pab.3.2013.05.23.03.50.04 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:50:07 -0700 (PDT) From: Sachin Kamat To: rtc-linux@googlegroups.com Cc: a.zummo@towertech.it, akpm@linux-foundation.org, sachin.kamat@linaro.org, Mark Jackson Subject: [rtc-linux] [PATCH 04/33] drivers/rtc/rtc-ds1390.c: remove empty function Date: Thu, 23 May 2013 16:05:45 +0530 Message-Id: <1369305374-20433-4-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1369305374-20433-1-git-send-email-sachin.kamat@linaro.org> References: <1369305374-20433-1-git-send-email-sachin.kamat@linaro.org> X-Gm-Message-State: ALoCoQnwaO3TjxxSzmWM9r3iFFdCEVFyfeBTkGXKRLUrftKGGxfthKMKnUaHWCVjnpY7MG6Le4AT X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.220.41 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: X-Google-Group-Id: 712029733259 List-Post: , List-Help: , List-Archive: Sender: rtc-linux@googlegroups.com List-Subscribe: , List-Unsubscribe: , After the switch to devm_* functions and the removal of rtc_device_unregister(), the 'remove' function does not do anything. Delete it. Signed-off-by: Sachin Kamat Cc: Mark Jackson --- drivers/rtc/rtc-ds1390.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/rtc/rtc-ds1390.c b/drivers/rtc/rtc-ds1390.c index 289af41..be9d8c0 100644 --- a/drivers/rtc/rtc-ds1390.c +++ b/drivers/rtc/rtc-ds1390.c @@ -154,18 +154,12 @@ static int ds1390_probe(struct spi_device *spi) return res; } -static int ds1390_remove(struct spi_device *spi) -{ - return 0; -} - static struct spi_driver ds1390_driver = { .driver = { .name = "rtc-ds1390", .owner = THIS_MODULE, }, .probe = ds1390_probe, - .remove = ds1390_remove, }; module_spi_driver(ds1390_driver);