Message ID | 1369305374-20433-7-git-send-email-sachin.kamat@linaro.org |
---|---|
State | Accepted |
Headers | show
Return-Path: <rtc-linux+bncBDM5LUP2XEPRB2HI66GAKGQEEA7442I@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-gg0-x23d.google.com (mail-gg0-x23d.google.com [IPv6:2607:f8b0:4002:c02::23d]) (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 1A5512C0090 for <incoming@patchwork.ozlabs.org>; Thu, 23 May 2013 20:50:18 +1000 (EST) Received: by mail-gg0-f189.google.com with SMTP id d2sf992447ggn.16 for <incoming@patchwork.ozlabs.org>; Thu, 23 May 2013 03:50:16 -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=0eXLVdeaIG0LuNlmJpMo7MGtzUMKwOPdb4Dsco+N9ak=; b=ackZvTfXTFFCXN/uUvBmk/erwgSUZw2qPO/c1ApoigNJF/0pxEGpMPOAm9X+WwssyY HRfIup7FXcqpMRIxhmmEzMHFiAvPEynb5Op3+tqyNoTluvOJkFE/CnoKKN6pfob7u978 vw0whCMBDycAzceW+oT1ceEBRpAWHKgMu3Ljrm+1M9rdEOloqFdaVWD3UyRddLUsM1uT 6hViOKqUykySqcv0uTxUvsBVFLwVfKtlbcWzRCQ6zmyMglRw2gHXyh/yzU7aFCAC3/cg I+5q821IMdZP0kanHx8vAexrCAqI/S0CkzNkXOoZSHN7/hPlqKa837eymc56pfnbxS6o 1FuA== 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=0eXLVdeaIG0LuNlmJpMo7MGtzUMKwOPdb4Dsco+N9ak=; b=JoMHRmEt5UiNVxpEpyYgUCaQkIo1dCSw/sXEasAPTFD9HwvPjNDecMjkqkiSWAB+Xq 7QX2wVHVbrK6RtO2otT0MUlDWF70jfDIDO7/Nsg/QyPUz+NTolk6o0HwvBsmhih8J9Ps mFgITCbPvcYzwOMQcr+H8NCSuwdCvHmhOhpBOrJSkM7174eTYi5rcC/XfY5WR236i5wG GmP+ZX5EbNgW255KEL0/0CBlxrX3VGQaO7IDktffFxgeJ9WbSQi7KgTXADcj+XksTk+7 vJVBj6AEy3QW2B0oG90XdRbeWd63S7lo6kaxpWvRyKo51Ensa+aqfDKOT8caC3HjH8Ca JiTQ== X-Received: by 10.50.102.71 with SMTP id fm7mr17801igb.7.1369306216442; Thu, 23 May 2013 03:50:16 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.50.21.105 with SMTP id u9ls1619923ige.19.canary; Thu, 23 May 2013 03:50:16 -0700 (PDT) X-Received: by 10.66.121.134 with SMTP id lk6mr1437863pab.34.1369306216185; Thu, 23 May 2013 03:50:16 -0700 (PDT) Received: from mail-pa0-f49.google.com (mail-pa0-f49.google.com [209.85.220.49]) by gmr-mx.google.com with ESMTPS id xb6si1869653pab.0.2013.05.23.03.50.16 for <rtc-linux@googlegroups.com> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:50:16 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.49 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.220.49; Received: by mail-pa0-f49.google.com with SMTP id bi5so2836292pad.36 for <rtc-linux@googlegroups.com>; Thu, 23 May 2013 03:50:16 -0700 (PDT) X-Received: by 10.68.234.100 with SMTP id ud4mr12406889pbc.9.1369306216083; Thu, 23 May 2013 03:50:16 -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.13 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:50:15 -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, dann frazier <dannf@hp.com> Subject: [rtc-linux] [PATCH 07/33] drivers/rtc/rtc-efi.c: remove empty function Date: Thu, 23 May 2013 16:05:48 +0530 Message-Id: <1369305374-20433-7-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: ALoCoQlUa4dSEnh3EPPcL4cXhg64At3wlgg111AuqIuUGWjJp4CrLCSDbfAinq12ZBQH4YLNFM9A X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.220.49 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-efi.c b/drivers/rtc/rtc-efi.c index b3c8c0b..797aa02 100644 --- a/drivers/rtc/rtc-efi.c +++ b/drivers/rtc/rtc-efi.c @@ -201,17 +201,11 @@ static int __init efi_rtc_probe(struct platform_device *dev) return 0; } -static int __exit efi_rtc_remove(struct platform_device *dev) -{ - return 0; -} - static struct platform_driver efi_rtc_driver = { .driver = { .name = "rtc-efi", .owner = THIS_MODULE, }, - .remove = __exit_p(efi_rtc_remove), }; module_platform_driver_probe(efi_rtc_driver, efi_rtc_probe);
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: dann frazier <dannf@hp.com> --- drivers/rtc/rtc-efi.c | 6 ------ 1 file changed, 6 deletions(-)