From patchwork Thu May 23 10:35:58 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 245899 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-qa0-x239.google.com (mail-qa0-x239.google.com [IPv6:2607:f8b0:400d:c00::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 CDDBA2C016F for ; Thu, 23 May 2013 20:50:48 +1000 (EST) Received: by mail-qa0-f57.google.com with SMTP id j11sf990396qag.22 for ; Thu, 23 May 2013 03:50:46 -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=cp4NwjeJIzmPCvs/NBBffNyvQywv14tPiKyfwdpFmdI=; b=lSQeBtv9LIBbswYIQ551JOMcn7vKcbcHGHjdkXSq03dH7HLMdQhK6huLH4hfYK8YnQ 6gV39GDIphKck0H0ZghdS1pXNCxjefezgaDQlwA4j1IUrwlgrHtePLV/N2AI0VBDEWFm ikz/YZ8RKtdGZiEFvk75NzdTffz5vAn4fTxTRoVHPoK6hxUhYXSsIvmkJv1CpHCgo94I Vo41HM5bAD/IQ2hvA9ZtqQ6u4zrOSW/opod0VmshaOEvIsrpE56w8xl7NyPKJAKhi80t 5cgj/KzH8omdOTsWF70Ioh7Cov4b4uSo22jgNF2/VjCtUvti65JwpqKABfhmrxuyFLGi H7OA== 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=cp4NwjeJIzmPCvs/NBBffNyvQywv14tPiKyfwdpFmdI=; b=Wcvr7ip0afEU4BLHddPEbd28IOfe0HlCg0XjKG5G6U3qFGdSq84nY4QbcCXDu51r8E bSSX+zKJc/HhjnbZ8mKyNFq26CtOA+rIvuVUa/ffzwqdePmOTGmb+LSOwnxCRDa0r2EL cVB2TCrwfKkr7AQ/qcWXhb+KW3ZgxOtdmLWfezpHWZbBm0ZQuQeIGbCOq4LN2o2oTr6u vV6qzuoHPFEPr5G6bsPuknZX1I49Vf+9Em7PXycNwiWmEO2mn5706Y/90+Uq5zBU9HSv 1pCYVJk3sbQ2crGJf/L5B2fPCpQsbseR3QfwAn/0TiXWN9NEvS8u2Jl2b1kh+oPoqKV7 cJyw== X-Received: by 10.50.65.2 with SMTP id t2mr330076igs.9.1369306246070; Thu, 23 May 2013 03:50:46 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.50.119.103 with SMTP id kt7ls32252igb.41.gmail; Thu, 23 May 2013 03:50:45 -0700 (PDT) X-Received: by 10.66.217.134 with SMTP id oy6mr1562718pac.36.1369306245827; Thu, 23 May 2013 03:50:45 -0700 (PDT) Received: from mail-pa0-f45.google.com (mail-pa0-f45.google.com [209.85.220.45]) by gmr-mx.google.com with ESMTPS id gi6si1790754pbc.2.2013.05.23.03.50.45 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:50:45 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.45 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.220.45; Received: by mail-pa0-f45.google.com with SMTP id lj1so2832474pab.4 for ; Thu, 23 May 2013 03:50:45 -0700 (PDT) X-Received: by 10.66.50.4 with SMTP id y4mr12823441pan.216.1369306245643; Thu, 23 May 2013 03:50:45 -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.42 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:50:45 -0700 (PDT) From: Sachin Kamat To: rtc-linux@googlegroups.com Cc: a.zummo@towertech.it, akpm@linux-foundation.org, sachin.kamat@linaro.org, Chiwoong Byun Subject: [rtc-linux] [PATCH 17/33] drivers/rtc/rtc-max77686.c: remove empty function Date: Thu, 23 May 2013 16:05:58 +0530 Message-Id: <1369305374-20433-17-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: ALoCoQkfSIsc8w2dFOUSLTLttQnMx4ZAHdBlnni2UwhoFwTVWS3ty1dvYyOkELuBuTLsB5wwZasa X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.220.45 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: Chiwoong Byun --- drivers/rtc/rtc-max77686.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/rtc/rtc-max77686.c b/drivers/rtc/rtc-max77686.c index 441c5c2..9915cb9 100644 --- a/drivers/rtc/rtc-max77686.c +++ b/drivers/rtc/rtc-max77686.c @@ -567,11 +567,6 @@ err_rtc: return ret; } -static int max77686_rtc_remove(struct platform_device *pdev) -{ - return 0; -} - static void max77686_rtc_shutdown(struct platform_device *pdev) { #ifdef MAX77686_RTC_WTSR_SMPL @@ -610,7 +605,6 @@ static struct platform_driver max77686_rtc_driver = { .owner = THIS_MODULE, }, .probe = max77686_rtc_probe, - .remove = max77686_rtc_remove, .shutdown = max77686_rtc_shutdown, .id_table = rtc_id, };