Message ID | 1369305374-20433-14-git-send-email-sachin.kamat@linaro.org |
---|---|
State | Accepted |
Headers | show
Return-Path: <rtc-linux+bncBDM5LUP2XEPRB7PI66GAKGQET3OCJAY@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-pd0-f184.google.com (mail-pd0-f184.google.com [209.85.192.184]) (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 67A692C0089 for <incoming@patchwork.ozlabs.org>; Thu, 23 May 2013 20:50:39 +1000 (EST) Received: by mail-pd0-f184.google.com with SMTP id 6sf719308pdd.1 for <incoming@patchwork.ozlabs.org>; Thu, 23 May 2013 03:50:37 -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=r/6ejQ5JF3/kGmb2qYpygOxSSO/C6XS9TMrE/tZXgDc=; b=Urlz7Sj4aKQRNgabzdf0zOe31SjUjk86CGyZyKGniO2Np/Ov4Ct46doML6Iz51ervo 2718cHbIdWqe3wN0VlpNMFFec/gRjyREL8XKeufmYzF7oCEyp+t4k4PRcspL0DNCcv1A FLO7tuKThFbYtNWdbRl+yNNvQOi46rNL/IR/iU12dQGGAFSM9xPLZqTSFw5Y5GlgvnG7 ou1pV5PXjche8IKbwvVyIr/b4Ut2SSEYC2tOLRRAnF7XXIIaCMbE+DUhAF+3jSfQcB3X K57JrIYSAC2jrg/iR4Jy03vpW8+p//uNE1VRAqepQXn46Hw/v2s8nyCVtejWa4jyoTOa UP7w== 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=r/6ejQ5JF3/kGmb2qYpygOxSSO/C6XS9TMrE/tZXgDc=; b=C1fbaG+swejULHazudH+yVSxyPVTKq+Xf86X9bQd5tNr5sfGxLw8cNg4G0XujdRgAW swfQmnKVKUxuZFXR0WoajyeCcPOxS+ijP0mdD2Rs1iSQRPFxGO0U872ZEJIzya4uQiac UaawvbIkBH8WnDuGP9YY4UxXHBtHBH2YdlK7r3p6ZrG/oC1vBysv/CkO2fgR8yd54CVr Sm0+qsgbrCLPDDcM0BVGGAFLVBHLOTSBeeKsn4zd8PZvpQdNDmBQDtXtL1NJaeN2FHm7 W5++1Jjvgm2KzH+ny5ofZu9Pw0gWlvNemXi4Xpv2+SwjRAiZrt1ePTU78RZZarnY7wtZ s1dA== X-Received: by 10.50.114.36 with SMTP id jd4mr328256igb.14.1369306237502; Thu, 23 May 2013 03:50:37 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.50.42.194 with SMTP id q2ls4058872igl.43.canary; Thu, 23 May 2013 03:50:37 -0700 (PDT) X-Received: by 10.66.231.8 with SMTP id tc8mr1573988pac.43.1369306237210; Thu, 23 May 2013 03:50:37 -0700 (PDT) Received: from mail-pa0-f43.google.com (mail-pa0-f43.google.com [209.85.220.43]) by gmr-mx.google.com with ESMTPS id gi6si1790585pbc.2.2013.05.23.03.50.37 for <rtc-linux@googlegroups.com> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:50:37 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.43 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.220.43; Received: by mail-pa0-f43.google.com with SMTP id hz11so79607pad.2 for <rtc-linux@googlegroups.com>; Thu, 23 May 2013 03:50:37 -0700 (PDT) X-Received: by 10.67.1.37 with SMTP id bd5mr12345382pad.194.1369306237138; Thu, 23 May 2013 03:50:37 -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.34 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:50:36 -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, Thomas Bogendoerfer <tsbogend@alpha.franken.de> Subject: [rtc-linux] [PATCH 14/33] drivers/rtc/rtc-m48t35.c: remove empty function Date: Thu, 23 May 2013 16:05:55 +0530 Message-Id: <1369305374-20433-14-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: ALoCoQnJcOIiu0HaLD44bilYO3+6+izUyjbqDade/mJIk7Sc9GIB5fn51IfWImzJZcjwWn37axRq X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.220.43 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-m48t35.c b/drivers/rtc/rtc-m48t35.c index 3744424..25678d4 100644 --- a/drivers/rtc/rtc-m48t35.c +++ b/drivers/rtc/rtc-m48t35.c @@ -180,18 +180,12 @@ static int m48t35_probe(struct platform_device *pdev) return 0; } -static int m48t35_remove(struct platform_device *pdev) -{ - return 0; -} - static struct platform_driver m48t35_platform_driver = { .driver = { .name = "rtc-m48t35", .owner = THIS_MODULE, }, .probe = m48t35_probe, - .remove = m48t35_remove, }; module_platform_driver(m48t35_platform_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: Thomas Bogendoerfer <tsbogend@alpha.franken.de> --- drivers/rtc/rtc-m48t35.c | 6 ------ 1 file changed, 6 deletions(-)