From patchwork Thu May 23 10:36:05 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 245906 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-ob0-x239.google.com (mail-ob0-x239.google.com [IPv6:2607:f8b0:4003:c01::239]) (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 5A6892C0089 for ; Thu, 23 May 2013 20:51:09 +1000 (EST) Received: by mail-ob0-f185.google.com with SMTP id tb18sf972371obb.2 for ; Thu, 23 May 2013 03:51:06 -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=0suOvFcpBSlwVW1di0TD33MeSbVbWUFOEgsUv6ATmRw=; b=UpqL6zJRQ2xCY7xMXw8a0x04Xp2yJYw7pQEe6nIjyqNwnzAMe7q+YwOCHSm/MpnfcV WqiZkr/RnLdvrL4f1oLSfxqh5HpIJz7QFNOed9QcovOQzIqsmt74bEyIrIctB2Q7sCdK GipWphRTt1yCE3fElfzKERvoSayKqMMJPaYYOJXFZacxjN5LoeaQ2V3TkVKq5zLogiJz JcESR4ruPa9FEhEjFjtr9KW3az/AT0Msbdo2wo6poynS7UNj40DjMG/sDbhSg0PZnwaJ Ccty9r2EzUVD3eHhsQD4X5PZYgwN5y6UbnwgcqZwMslt9YNs4j39BkF9VHhxuDmd1206 V3yA== 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=0suOvFcpBSlwVW1di0TD33MeSbVbWUFOEgsUv6ATmRw=; b=D7LgJIZQ2DqFeXd3U3JuT5FlWdi36kBA2ky0ivwYYzTQsI3KoUHh3S65BVXjuU9+SK K2xm6N9c+Ck3nLtzjCEyasTaCvV1H3g4hsW892QLeKEcJX7c0l2WhXnOhX5P/WSH1qZo KnuV2h7WN37/yP3amE2U5lOAsetlFm39fRIThgvaDcBfarlUWOsXo++96b2dYQahdFUl zFxWu6CMrCka/86ahuWoF3oFmR1Mx4Vyay8rczOZJbBHFywsnmsPjI2axRxxWPyRkL5c fOMZM8wEawBWZ5sq8LHT3cr7w9TXf2Hy1ZryipDdoFmxYjB3F9a0lBrGifFGME+iSbar KUzQ== X-Received: by 10.50.29.38 with SMTP id g6mr18236igh.11.1369306266811; Thu, 23 May 2013 03:51:06 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.50.28.46 with SMTP id y14ls1517635igg.38.gmail; Thu, 23 May 2013 03:51:06 -0700 (PDT) X-Received: by 10.66.219.6 with SMTP id pk6mr1461910pac.28.1369306266457; Thu, 23 May 2013 03:51:06 -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 sj3si1868241pab.1.2013.05.23.03.51.06 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:51:06 -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-f50.google.com with SMTP id wy17so2748191pbc.37 for ; Thu, 23 May 2013 03:51:06 -0700 (PDT) X-Received: by 10.66.163.99 with SMTP id yh3mr12658283pab.22.1369306266379; Thu, 23 May 2013 03:51:06 -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.03 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:51:05 -0700 (PDT) From: Sachin Kamat To: rtc-linux@googlegroups.com Cc: a.zummo@towertech.it, akpm@linux-foundation.org, sachin.kamat@linaro.org, Nobuhiro Iwamatsu Subject: [rtc-linux] [PATCH 24/33] drivers/rtc/rtc-rs5c313.c: remove empty function Date: Thu, 23 May 2013 16:06:05 +0530 Message-Id: <1369305374-20433-24-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: ALoCoQmCr4p9/gsBxFH16qu5UaN31tJPrmR/zY8rVdo+3TejSjknlaUqv2BCcKine7qNQNQPpII5 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 Cc: Nobuhiro Iwamatsu --- drivers/rtc/rtc-rs5c313.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/rtc/rtc-rs5c313.c b/drivers/rtc/rtc-rs5c313.c index 6af0f1f..68f7856 100644 --- a/drivers/rtc/rtc-rs5c313.c +++ b/drivers/rtc/rtc-rs5c313.c @@ -378,18 +378,12 @@ static int rs5c313_rtc_probe(struct platform_device *pdev) return 0; } -static int rs5c313_rtc_remove(struct platform_device *pdev) -{ - return 0; -} - static struct platform_driver rs5c313_rtc_platform_driver = { .driver = { .name = DRV_NAME, .owner = THIS_MODULE, }, .probe = rs5c313_rtc_probe, - .remove = rs5c313_rtc_remove, }; static int __init rs5c313_rtc_init(void)