From patchwork Thu May 23 10:36:13 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 245914 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-gg0-x23a.google.com (mail-gg0-x23a.google.com [IPv6:2607:f8b0:4002:c02::23a]) (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 AF0892C00AA for ; Thu, 23 May 2013 20:51:32 +1000 (EST) Received: by mail-gg0-f186.google.com with SMTP id b1sf956591ggn.23 for ; Thu, 23 May 2013 03:51:30 -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=UQu4AUKXc2r3Vs+EPcaQe5KgNBZSN/QgbvY3dyh7pEU=; b=QMgTSP2rQPeLhfpMgPtmr57M5wmiqhtENZDgnMm7dcGZ0iVRu4DGHgYza6m9UunPlE rL/AnEootMsDsSUeqcuN/rOCnH2OUPsQU0M31ReFIyAr9vOEPiSJLRv+RfFGkvFTHMVq h41uR2b4Z0aE10g+UM3uydoQoKmnlAM7BaDtl7foAga2XKoe1bH4+NCXBFGTmZobTa98 JHau1jgM+/rKVcorDg+zDIBnovtTfZtgpnG5lhPHJJRHG1rVBP/xvT+G4ar9hicnoQrJ v/BDHBQsX4vvo6j7C52dno0VWdwe7oSeizrX6j7Wuy5BBwNg+cxIYpp38kehGuc+pFIU 8+Sw== 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=UQu4AUKXc2r3Vs+EPcaQe5KgNBZSN/QgbvY3dyh7pEU=; b=TW0d4Uct+yEwhCw8owv62N8Eh4FhlZs8rEvHr41rF2demt8fWrQfPf9eHYbek/2/kM tKcxk3xRkygpEaHCuIaKbJGMGdSfa4M22N2n5kDN0hHgIuigwD5YOCW0oTawTHs6ZE2c qYdUa2zQpTQt8xl7D6NUk3xFfI3awcTwVT3gGaXb6jyd0zcrHU3Auxt/IyCb+VXYdTTP zXtOYRxBjFvKgOmSEAhwM9dnAM5sPzTQWV7R98ii1Pf4kSlXllsn51Wjcw8CLSRh6pKn hhcjAZzGn+tgvknUIl/wTjgZqZemyKq17PYub0/rajkZWsCN4pjg7+K0pgZ6yXcCdXPH IB0g== X-Received: by 10.50.25.33 with SMTP id z1mr18151igf.16.1369306290021; Thu, 23 May 2013 03:51:30 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.50.20.231 with SMTP id q7ls28088ige.23.gmail; Thu, 23 May 2013 03:51:29 -0700 (PDT) X-Received: by 10.66.119.67 with SMTP id ks3mr1448083pab.20.1369306289793; Thu, 23 May 2013 03:51:29 -0700 (PDT) Received: from mail-pb0-x234.google.com (mail-pb0-x234.google.com [2607:f8b0:400e:c01::234]) by gmr-mx.google.com with ESMTPS id sj3si1868891pab.1.2013.05.23.03.51.29 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:51:29 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400e:c01::234 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=2607:f8b0:400e:c01::234; Received: by mail-pb0-f52.google.com with SMTP id um15so2747176pbc.39 for ; Thu, 23 May 2013 03:51:29 -0700 (PDT) X-Received: by 10.66.190.104 with SMTP id gp8mr13095151pac.84.1369306289721; Thu, 23 May 2013 03:51:29 -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.26 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:51:29 -0700 (PDT) From: Sachin Kamat To: rtc-linux@googlegroups.com Cc: a.zummo@towertech.it, akpm@linux-foundation.org, sachin.kamat@linaro.org, Laxman Dewangan Subject: [rtc-linux] [PATCH 32/33] drivers/rtc/rtc-tps80031.c: remove empty function Date: Thu, 23 May 2013 16:06:13 +0530 Message-Id: <1369305374-20433-32-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: ALoCoQnnH7gG4WK8cWdeOT/v27rE9zWfIXYyUR8eRlTgj2z0PfhNSYCp7fcwmLMq8poCQbP9yF8U X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 2607:f8b0:400e:c01::234 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: Laxman Dewangan --- drivers/rtc/rtc-tps80031.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/rtc/rtc-tps80031.c b/drivers/rtc/rtc-tps80031.c index 72662ea..3e400dc 100644 --- a/drivers/rtc/rtc-tps80031.c +++ b/drivers/rtc/rtc-tps80031.c @@ -298,11 +298,6 @@ static int tps80031_rtc_probe(struct platform_device *pdev) return 0; } -static int tps80031_rtc_remove(struct platform_device *pdev) -{ - return 0; -} - #ifdef CONFIG_PM_SLEEP static int tps80031_rtc_suspend(struct device *dev) { @@ -333,7 +328,6 @@ static struct platform_driver tps80031_rtc_driver = { .pm = &tps80031_pm_ops, }, .probe = tps80031_rtc_probe, - .remove = tps80031_rtc_remove, }; module_platform_driver(tps80031_rtc_driver);