Message ID | 1369305374-20433-12-git-send-email-sachin.kamat@linaro.org |
---|---|
State | Accepted |
Headers | show
Return-Path: <rtc-linux+bncBDM5LUP2XEPRB57I66GAKGQETZ4F4HY@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-gg0-x23b.google.com (mail-gg0-x23b.google.com [IPv6:2607:f8b0:4002:c02::23b]) (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 330162C016F for <incoming@patchwork.ozlabs.org>; Thu, 23 May 2013 20:50:33 +1000 (EST) Received: by mail-gg0-f187.google.com with SMTP id l12sf973117gge.14 for <incoming@patchwork.ozlabs.org>; Thu, 23 May 2013 03:50:31 -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=e1zk5An9mp5oEDSUy/EP43N2PvJxfKpVdwzPQgA1/ZY=; b=r5rCYY+4rL+EgGsJX3gIleUgsMiBobX1sB5ahlzyB8A0+ZDNkRhMN1F0n5gD8Z1o52 eb7RcXae+urwUu+/3mH1ju1LkBnLsZd98IURE5KRiHImcquqsCqeQjQHqIdc3QsBrRH3 zMJyZJjSC1jOQpn1nEan18bFd56gNa/j+3qaHOIKJvUj8YwQohyasttCjUJ4mnijIHFt 0ePSJrtnCpOpZmD4eO3knH17lbtzFKRJdgZ+Ku6QttoayT8PsmvXdZgg2RVIfc+b/vkV wvB6YPrZzoa+ict/c/AZ1ZRxPcLa+Lch3t5CiaPXqJWCwGNnaxlf0iJ99Ce2C/v7GtrI QsfA== 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=e1zk5An9mp5oEDSUy/EP43N2PvJxfKpVdwzPQgA1/ZY=; b=Wd6uUmvCxH5SXaxCW13ty80zvV64Fe6DWZRpS1I8d4DwPzqg/NiWBZngGo8wLLwLeD mHD5nZ6zOJStadxJXhGE7LNXijRqqAs8GSqr9NZJY6fwg4SRb8i5zSEhDCgK0eSnxuE6 FRW6p5v6svNGtQKjDppFpjvq7a4Wxl/JM+y249bFmEFQrjp91RSzohTX4ZBSdVye+de7 5Y4qjhYEzMAbGbSnd1Cv2odpcJqLZMCZ0K24aBRHc5kaexrBjLXeDeg7deXPu4gawnWj g7ZIEvzu8LsqgXnF9pasLUyYVmDni9/SL9548pSPcLYSAonNaJXUXGDi3nCh0oAlZBw6 f2Ig== X-Received: by 10.50.56.16 with SMTP id w16mr62857igp.6.1369306231534; Thu, 23 May 2013 03:50:31 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.50.213.65 with SMTP id nq1ls1586431igc.34.gmail; Thu, 23 May 2013 03:50:31 -0700 (PDT) X-Received: by 10.66.217.134 with SMTP id oy6mr1562658pac.36.1369306231270; Thu, 23 May 2013 03:50:31 -0700 (PDT) Received: from mail-pb0-x229.google.com (mail-pb0-x229.google.com [2607:f8b0:400e:c01::229]) by gmr-mx.google.com with ESMTPS id gi6si1790529pbc.2.2013.05.23.03.50.31 for <rtc-linux@googlegroups.com> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:50:31 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400e:c01::229 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=2607:f8b0:400e:c01::229; Received: by mail-pb0-x229.google.com with SMTP id xb12so2763694pbc.14 for <rtc-linux@googlegroups.com>; Thu, 23 May 2013 03:50:31 -0700 (PDT) X-Received: by 10.68.129.10 with SMTP id ns10mr12343026pbb.13.1369306231192; Thu, 23 May 2013 03:50:31 -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.28 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:50:30 -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, Nikolaus Voss <n.voss@weinmann.de> Subject: [rtc-linux] [PATCH 12/33] drivers/rtc/rtc-m41t93.c: remove empty function Date: Thu, 23 May 2013 16:05:53 +0530 Message-Id: <1369305374-20433-12-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: ALoCoQlJNbBRZB09HdZDecrcG1MQ+DZUSYGDHyoJtI8pwLc5DzoRq7lirLqZAGUdijX7CIXSEuXp X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 2607:f8b0:400e:c01::229 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-m41t93.c b/drivers/rtc/rtc-m41t93.c index 9707d36..4698c7e 100644 --- a/drivers/rtc/rtc-m41t93.c +++ b/drivers/rtc/rtc-m41t93.c @@ -194,19 +194,12 @@ static int m41t93_probe(struct spi_device *spi) return 0; } - -static int m41t93_remove(struct spi_device *spi) -{ - return 0; -} - static struct spi_driver m41t93_driver = { .driver = { .name = "rtc-m41t93", .owner = THIS_MODULE, }, .probe = m41t93_probe, - .remove = m41t93_remove, }; module_spi_driver(m41t93_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: Nikolaus Voss <n.voss@weinmann.de> --- drivers/rtc/rtc-m41t93.c | 7 ------- 1 file changed, 7 deletions(-)