From patchwork Thu May 23 10:36:12 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 245913 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-vc0-f192.google.com (mail-vc0-f192.google.com [209.85.220.192]) (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 E9C042C0089 for ; Thu, 23 May 2013 20:51:29 +1000 (EST) Received: by mail-vc0-f192.google.com with SMTP id kw10sf1000131vcb.19 for ; Thu, 23 May 2013 03:51:27 -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=qCQHTRJIWIdQNFgFEgM2krLytgwS7CDbqDTDIrdHPsg=; b=l/inj44VUsWl8bM+8q8Okjt2wdfrx5w9hS51a9rymfyXIVQ0R4SdsVtbaITawh4owx bXPxhkSSmM6UQmmn6p2bfYlMF3CJguZd2qx3X1kki0f0yuKdq7akUUfgZ3hk6JCNvvvJ 9rpsZyrWwRgfNx+qAzlnS3OiFafR5oX5PCK1RtN1nFBx1nIXWr/fm0V1KMcmtgGxT4B0 IJRfceVMhaWIvxw9dihl4qh28n17t0Gu+W5rr6Mh2mMHSOM7k1LWL0OzNqtTvdN631m6 Cew458NtrF8YCr+fnKd40wjTyUaZx1+LdnAfxDWDpLXBEydLoArMFGwRDkmK1IyA0fKM tLKg== 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=qCQHTRJIWIdQNFgFEgM2krLytgwS7CDbqDTDIrdHPsg=; b=D/AoHY9BTNo4GEfetyNvBqsGhm/CtZsByc+SH01x//74MvdHFM65s6AsVX+Exh3goe JeznVLTXJSzNCRiYBiE1ACgJac3aPEXnyNgYE7XgCV8LK+rWxkNQrnLSU1GRBECIBLZg vncBBfM/s8Sj9zvNsSAEfCbbFdgFWvieyt+KNjNAU0tPAxrkgKxAv1/Z0Wyeq3r3cMRj CH1w6BBUqWNSJTgNnSb3LtB+psaYTx53weKwBu2h4Gx1XHxVpICNhmuZzg+aW3fUBiAc tiQhoENtuKJaZBZFrlltHP/r28H9UiWyExEJazBIMOqB62Q5dTqyssywKJ+n8ngnsVvT l+Qw== X-Received: by 10.50.39.84 with SMTP id n20mr2596441igk.13.1369306287115; Thu, 23 May 2013 03:51:27 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.50.3.10 with SMTP id 10ls33915igy.0.canary; Thu, 23 May 2013 03:51:26 -0700 (PDT) X-Received: by 10.66.163.97 with SMTP id yh1mr1552162pab.5.1369306286762; Thu, 23 May 2013 03:51:26 -0700 (PDT) Received: from mail-pb0-x232.google.com (mail-pb0-x232.google.com [2607:f8b0:400e:c01::232]) by gmr-mx.google.com with ESMTPS id gi6si1790134pbc.2.2013.05.23.03.51.26 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:51:26 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400e:c01::232 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=2607:f8b0:400e:c01::232; Received: by mail-pb0-x232.google.com with SMTP id wy17so2732673pbc.9 for ; Thu, 23 May 2013 03:51:26 -0700 (PDT) X-Received: by 10.66.222.69 with SMTP id qk5mr12705271pac.71.1369306286690; Thu, 23 May 2013 03:51:26 -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.24 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:51:26 -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 31/33] drivers/rtc/rtc-sun4v.c: remove empty function Date: Thu, 23 May 2013 16:06:12 +0530 Message-Id: <1369305374-20433-31-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: ALoCoQlvCdOfwqqHJ2zyqF7ywUB6oRBoIseeBsRRzuS9IW1wPFN32lUplBhhwFLrcSQOt9fEDB89 X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 2607:f8b0:400e:c01::232 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-sun4v.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/rtc/rtc-sun4v.c b/drivers/rtc/rtc-sun4v.c index ce42e5f..bc97ff9 100644 --- a/drivers/rtc/rtc-sun4v.c +++ b/drivers/rtc/rtc-sun4v.c @@ -92,17 +92,11 @@ static int __init sun4v_rtc_probe(struct platform_device *pdev) return 0; } -static int __exit sun4v_rtc_remove(struct platform_device *pdev) -{ - return 0; -} - static struct platform_driver sun4v_rtc_driver = { .driver = { .name = "rtc-sun4v", .owner = THIS_MODULE, }, - .remove = __exit_p(sun4v_rtc_remove), }; module_platform_driver_probe(sun4v_rtc_driver, sun4v_rtc_probe);