Message ID | 1369305374-20433-3-git-send-email-sachin.kamat@linaro.org |
---|---|
State | Accepted |
Headers | show
Return-Path: <rtc-linux+bncBDM5LUP2XEPRBXHI66GAKGQE42ISZLA@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-qa0-x238.google.com (mail-qa0-x238.google.com [IPv6:2607:f8b0:400d:c00::238]) (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 D76D52C0090 for <incoming@patchwork.ozlabs.org>; Thu, 23 May 2013 20:50:07 +1000 (EST) Received: by mail-qa0-f56.google.com with SMTP id bn16sf974759qab.1 for <incoming@patchwork.ozlabs.org>; Thu, 23 May 2013 03:50:05 -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=RgkE0qnE47vUTlrFhK2k9cc+z2JdepZQsudynM5r+QI=; b=GFG0HeXBFSEgp9A1gl1swqx7dMMiLw9PQfZD1KAqSiNjKlu2ibZ0yNiaHsWaSSsXsC 6SdUwHP3Hq6OBQqqb5y2qn0EzQ9ccefueOefjrCnRPCYGmNj07cJnRrOjwlLksFlA7Nv kx2VF0BCsKDM6lfMq1NUhcRH4eQRLL5/YFLSyKBjTCv9HGjd5/nAnAczHM3t8giE1oVS eFfD5RSsaloPsV72X+SK+Ig0K5uy3LQ1LIi8zCTN8CbRJyDjszOuxEdyjVL42YSAagVv pIzSVnWqN6sAw69HKWsM0yMYT38USU4V7bBut+RBkPjQG74dgIjmKfmPU8EnZLVtkPOM rNvw== 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=RgkE0qnE47vUTlrFhK2k9cc+z2JdepZQsudynM5r+QI=; b=Qef7+AFp7ruFguorG0648QO/DqfjZz/PJOZvifUJgCMBrMlAULyIdimefOIjnE5wp4 ijmuGLJ/c8CfwKooHn+zSfKocYL/WczkCd5L9vPCVAHR4RsLDdJplILgDt1KubVsaUnj pvmKjKo9EVcfu4G4pWlIxpsN8F5eyDuSxZIGHccYY4daOUtthxmHi08F3UMNbu4rehmd YoqAxhMJ6Yb8IK8gqncvDpPjJ3IfXGqGYC7Ync6+HluS9czXVZ3doN7kI6svT/qgxsr9 uGfutN8oSVN2VD8kXKP6GRL9G3mkLIdwvfxJQPFpZThsROIpKUE7iRdvYFc2fKLpfh4t /mfQ== X-Received: by 10.50.29.38 with SMTP id g6mr17988igh.11.1369306205034; Thu, 23 May 2013 03:50:05 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.50.127.179 with SMTP id nh19ls129508igb.39.gmail; Thu, 23 May 2013 03:50:04 -0700 (PDT) X-Received: by 10.66.122.39 with SMTP id lp7mr1557884pab.44.1369306204784; Thu, 23 May 2013 03:50:04 -0700 (PDT) Received: from mail-pa0-f45.google.com (mail-pa0-f45.google.com [209.85.220.45]) by gmr-mx.google.com with ESMTPS id kg6si1791455pbb.1.2013.05.23.03.50.04 for <rtc-linux@googlegroups.com> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:50:04 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.45 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.220.45; Received: by mail-pa0-f45.google.com with SMTP id lj1so2831847pab.4 for <rtc-linux@googlegroups.com>; Thu, 23 May 2013 03:50:04 -0700 (PDT) X-Received: by 10.68.115.167 with SMTP id jp7mr12009366pbb.145.1369306204714; Thu, 23 May 2013 03:50:04 -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.02 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:50:04 -0700 (PDT) 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, Thomas Bogendoerfer <tsbogend@alpha.franken.de> Subject: [rtc-linux] [PATCH 03/33] drivers/rtc/rtc-ds1286.c: remove empty function Date: Thu, 23 May 2013 16:05:44 +0530 Message-Id: <1369305374-20433-3-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: ALoCoQmG1+3FnaKETgYxC2nYxldkC+LNgpf+/riy8+ZVN+ePDYKloFpt434nSb0/vWCX4Yh05rBv X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.220.45 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?hl=en_US>, <mailto:rtc-linux@googlegroups.com> List-Help: <http://groups.google.com/support/?hl=en_US>, <mailto:rtc-linux+help@googlegroups.com> List-Archive: <http://groups.google.com/group/rtc-linux?hl=en_US> Sender: rtc-linux@googlegroups.com List-Subscribe: <http://groups.google.com/group/rtc-linux/subscribe?hl=en_US>, <mailto:rtc-linux+subscribe@googlegroups.com> List-Unsubscribe: <http://groups.google.com/group/rtc-linux/subscribe?hl=en_US>, <mailto:googlegroups-manage+712029733259+unsubscribe@googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1 |
diff --git a/drivers/rtc/rtc-ds1286.c b/drivers/rtc/rtc-ds1286.c index 398c96a..50e109b7 100644 --- a/drivers/rtc/rtc-ds1286.c +++ b/drivers/rtc/rtc-ds1286.c @@ -353,18 +353,12 @@ static int ds1286_probe(struct platform_device *pdev) return 0; } -static int ds1286_remove(struct platform_device *pdev) -{ - return 0; -} - static struct platform_driver ds1286_platform_driver = { .driver = { .name = "rtc-ds1286", .owner = THIS_MODULE, }, .probe = ds1286_probe, - .remove = ds1286_remove, }; module_platform_driver(ds1286_platform_driver);
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 <sachin.kamat@linaro.org> Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de> --- drivers/rtc/rtc-ds1286.c | 6 ------ 1 file changed, 6 deletions(-)