Message ID | 1369305374-20433-25-git-send-email-sachin.kamat@linaro.org |
---|---|
State | Accepted |
Headers | show
Return-Path: <rtc-linux+bncBDM5LUP2XEPRBHPJ66GAKGQETTTTMJY@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-pb0-x240.google.com (mail-pb0-x240.google.com [IPv6:2607:f8b0:400e:c01::240]) (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 D54402C0089 for <incoming@patchwork.ozlabs.org>; Thu, 23 May 2013 20:51:11 +1000 (EST) Received: by mail-pb0-f64.google.com with SMTP id wz12sf995888pbc.19 for <incoming@patchwork.ozlabs.org>; Thu, 23 May 2013 03:51:10 -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=4DQhD4x6fpubsjcd1VpOS7jSdRnCPvr5/mJg/Q99EKk=; b=g6Rq3Spmw7hgNPfBlBO0bKqLUGg4Ocavb8FegU9HrqWrrA26O611ZZr/39mprr00iv iSjXLD8vsL/GI/l8ORwhysmfBOFmcTWNkh2486KhCVV6Utkua5cRVn9Vj8mr9Nk3+u90 r8h272FSq7HJQYDXcRc09lJ8smtMoohp7X+z5FkTP2rQCNvC7i7bkExvtPMmmIlfhBI5 p+KsSh2/S8LXcLRD+J7UiD6bGLW4HoXjABnBIZNoP2oYn5L4tP5hYvzZTV1TKbadAKCT xvqSaRgqNp7l9gUBGCcommrs5DSwyNTeWPt3QhG7yYq7BJzT45QO/HN4mHxRRqn9DToA AXNg== 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=4DQhD4x6fpubsjcd1VpOS7jSdRnCPvr5/mJg/Q99EKk=; b=JOd76wjUhT9O8PT2FCgtskTx9ZhPvfR/pJ91DymRCAYRbhKsneAQreBPaYov5t4pd4 ReupVEqAX1LbbNou2Ikqo266OTgHn5Lxoc0bBqCzi3pqAXb9pvpTDFOfmgU5kq4Q0vm+ RIeMIsdmdFnHtbZYIwKEIHm2ZKrW1CwsLKOWUlNTq2muL4WF+Ic6pEQgWmBMioHn7vJ1 PNw8QJAjSyD09BkoqSDzYRTKuzSlLnfmTnh8QWfZAD9hsSGmHFI9BhLwSFEIhs0g2l1C tSX/oakxF13Sc5JV/Ct3lpORVbo/4ErS+VqaRQ3byxDiJKwF+H6ZiRami1rS1csHge0n 60jw== X-Received: by 10.50.147.98 with SMTP id tj2mr18317igb.10.1369306269945; Thu, 23 May 2013 03:51:09 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.50.12.7 with SMTP id u7ls1219809igb.25.gmail; Thu, 23 May 2013 03:51:09 -0700 (PDT) X-Received: by 10.66.244.230 with SMTP id xj6mr1586370pac.30.1369306269663; Thu, 23 May 2013 03:51:09 -0700 (PDT) Received: from mail-pd0-f174.google.com (mail-pd0-f174.google.com [209.85.192.174]) by gmr-mx.google.com with ESMTPS id xb6si1870151pab.0.2013.05.23.03.51.09 for <rtc-linux@googlegroups.com> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:51:09 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.174 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.192.174; Received: by mail-pd0-f174.google.com with SMTP id 3so931246pdj.5 for <rtc-linux@googlegroups.com>; Thu, 23 May 2013 03:51:09 -0700 (PDT) X-Received: by 10.68.194.202 with SMTP id hy10mr12171256pbc.44.1369306269592; Thu, 23 May 2013 03:51:09 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id xu10sm12361273pab.3.2013.05.23.03.51.06 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:51:09 -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, Atsushi Nemoto <anemo@mba.ocn.ne.jp> Subject: [rtc-linux] [PATCH 25/33] drivers/rtc/rtc-rs5c348.c: remove empty function Date: Thu, 23 May 2013 16:06:06 +0530 Message-Id: <1369305374-20433-25-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: ALoCoQkjwJUg5JQh9MMP2QzH40K7Sx6hL7252k1CQLbAoeX+LwpJZqSNbfEYbD/yH73M+ILwrMe4 X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.192.174 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-rs5c348.c b/drivers/rtc/rtc-rs5c348.c index 2c37df3..f7a90a1 100644 --- a/drivers/rtc/rtc-rs5c348.c +++ b/drivers/rtc/rtc-rs5c348.c @@ -218,18 +218,12 @@ static int rs5c348_probe(struct spi_device *spi) return ret; } -static int rs5c348_remove(struct spi_device *spi) -{ - return 0; -} - static struct spi_driver rs5c348_driver = { .driver = { .name = "rtc-rs5c348", .owner = THIS_MODULE, }, .probe = rs5c348_probe, - .remove = rs5c348_remove, }; module_spi_driver(rs5c348_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: Atsushi Nemoto <anemo@mba.ocn.ne.jp> --- drivers/rtc/rtc-rs5c348.c | 6 ------ 1 file changed, 6 deletions(-)