From patchwork Thu May 23 10:35:57 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 245897 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-pb0-x238.google.com (mail-pb0-x238.google.com [IPv6:2607:f8b0:400e:c01::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 3B3402C0089 for ; Thu, 23 May 2013 20:50:45 +1000 (EST) Received: by mail-pb0-f56.google.com with SMTP id xb12sf974337pbc.11 for ; Thu, 23 May 2013 03:50:43 -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=zexBuHzPlM0p/deEpBZtfaDwQhtPBUvntCl2UoVcpqo=; b=ubSgFgxTRKMyrFvJXx5Z2gBiAebqVdBL3MC1btGsJjUf+gE24V0yhrsNaDC8+qfaXS 4ID+9HrNB/XuzqzNo5EknwPVldV8MgQGMiwlA1PPn6XwdLpBD1tp4AsJvVYT3VKaD6Ky lg2+BTGDIUTBp/oqTj9ZbJ/5oLu03fGAo7Tywy9ZYTdgYBsDMsKHA/3eCoiFnHilPMmr uIZ1ylbw8CVUJuZOL2DksQtu310AZTl5SyyqDJvu07wuLU+BjV67IHOFHIkjV2J+Bqo2 RVvZ9/srFCI9+rGNofEZO6XUXUiefniaMel2VorBDpEIVZm6JTZVbP9fJwmGavV97Aun doag== 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=zexBuHzPlM0p/deEpBZtfaDwQhtPBUvntCl2UoVcpqo=; b=A5UI5e9a4qkdSXvFVzYoe3NfEvtUcyHbbnYOfgnnzNWlY2Q4OQ+BFZDMcT11fsgChS NANQjuftHGBt9+L24LInvZn1tlXPdI0ivxeJ58g0XFTnbGG7eoys3z70ZurdK1Ucy3Gw PesLm2Gvnsf73gW7sZ0iq2jX2OnOaWNTWe5+WDwXGojVR2vzlGB/YPXmyt4bbgxnGdze q6mywT8h77/pDi1uqP5PjEW4yIF1FxDhqcEDQLaU5MtaJ3EB1dffhDRtQMmOmqFix6YA 6YPaXaw2HSYSwFMExtnJftvy+ukznR3TbzAp/essGzisKn5+g94fP99uCgjHONpKKC7g AEgw== X-Received: by 10.50.65.2 with SMTP id t2mr330069igs.9.1369306243011; Thu, 23 May 2013 03:50:43 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.50.127.179 with SMTP id nh19ls129727igb.39.gmail; Thu, 23 May 2013 03:50:42 -0700 (PDT) X-Received: by 10.66.220.165 with SMTP id px5mr1305920pac.42.1369306242756; Thu, 23 May 2013 03:50:42 -0700 (PDT) Received: from mail-pb0-x235.google.com (mail-pb0-x235.google.com [2607:f8b0:400e:c01::235]) by gmr-mx.google.com with ESMTPS id sj3si1868360pab.1.2013.05.23.03.50.42 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:50:42 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400e:c01::235 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=2607:f8b0:400e:c01::235; Received: by mail-pb0-f53.google.com with SMTP id un4so2723122pbc.40 for ; Thu, 23 May 2013 03:50:42 -0700 (PDT) X-Received: by 10.66.138.105 with SMTP id qp9mr12601829pab.127.1369306242651; Thu, 23 May 2013 03:50:42 -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.40 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:50:42 -0700 (PDT) From: Sachin Kamat To: rtc-linux@googlegroups.com Cc: a.zummo@towertech.it, akpm@linux-foundation.org, sachin.kamat@linaro.org Subject: [rtc-linux] [PATCH 16/33] drivers/rtc/rtc-max6902.c: remove empty function Date: Thu, 23 May 2013 16:05:57 +0530 Message-Id: <1369305374-20433-16-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: ALoCoQmqqxtFXcxV0kmr4C4WwyOQGHH1VIeJIElPitgpoZSnT8WcscaH+jZGAXFnpkQAkgyFKNbW X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 2607:f8b0:400e:c01::235 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 --- drivers/rtc/rtc-max6902.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/rtc/rtc-max6902.c b/drivers/rtc/rtc-max6902.c index e9dd56c..ac3f419 100644 --- a/drivers/rtc/rtc-max6902.c +++ b/drivers/rtc/rtc-max6902.c @@ -143,18 +143,12 @@ static int max6902_probe(struct spi_device *spi) return 0; } -static int max6902_remove(struct spi_device *spi) -{ - return 0; -} - static struct spi_driver max6902_driver = { .driver = { .name = "rtc-max6902", .owner = THIS_MODULE, }, .probe = max6902_probe, - .remove = max6902_remove, }; module_spi_driver(max6902_driver);