From patchwork Thu May 23 10:36:00 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 245901 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-pb0-x237.google.com (mail-pb0-x237.google.com [IPv6:2607:f8b0:400e:c01::237]) (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 B6D352C0089 for ; Thu, 23 May 2013 20:50:53 +1000 (EST) Received: by mail-pb0-f55.google.com with SMTP id ro12sf957000pbb.20 for ; Thu, 23 May 2013 03:50:51 -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=Xls10bUWKIWIGIZoRvjWFoCKHtkJgCWye/NEbYe9Skg=; b=zXaPsLXHffAoHYZtUTYepgRBQZc6eiefnC6vi6YgnMw0LHghJ9X+NV9eMjZH5tvgVW XY1nP8Bxvim0QDrsALPZT21h4HIEZhbYjXNz44VRUGgsTt8FBeu39iu6XR7vVfw6vxfm mnx+9n3Aqeb7+H558t9mmd35q6C1QYaN861SOZ9llVgnOiBGWYaPAGq8Xnl5PIVMQT6d C10N17eW1KATHLA2FYpPcTtKEd4U6HxIhG/o8mvqCb38EwrhLh5/JPkDTNgJYPFFsGef pFmAa5yCI4wUMuXzuqGmhT5ZikHBo9egsYEYuy3Xp/S1iI+hw7K6HIktJab3S+9oqpck OysQ== 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=Xls10bUWKIWIGIZoRvjWFoCKHtkJgCWye/NEbYe9Skg=; b=Rau8EwX3JzndflbujSBSfl87/GB9EhbESamRZ57QJRAAH2lsnJDVzXTtS0r/+J05c6 T/Mugb8Si2XuC9ddYMqIOg+e9DTlpmNfUu3KBIaoyCL5q5kuic8CUyMQQESatJ+9wdio 5VTKWN/2J4hRMFad4yRSSzuky6TF+Nwt3Sbv+5ZIE8hWhewOUhbHCC2Mzy6iJXWT4B4Q 0KOr8gwrtynreyIxRjYKLVTA7sUKJPnqi0p4VwCursSeXFWjvQ05lj/y/wNyw/J0PB5m mxA7+t1Jh6ff8FJYo3TavmCV+vDFEMTEQxTEJJhFw57eb/Hcv9PHhLdBMlkNtn2pE3y8 EYNg== X-Received: by 10.50.102.71 with SMTP id fm7mr17910igb.7.1369306251558; Thu, 23 May 2013 03:50:51 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.50.134.168 with SMTP id pl8ls1525645igb.8.gmail; Thu, 23 May 2013 03:50:51 -0700 (PDT) X-Received: by 10.66.150.129 with SMTP id ui1mr1556566pab.25.1369306251270; Thu, 23 May 2013 03:50:51 -0700 (PDT) Received: from mail-pd0-f178.google.com (mail-pd0-f178.google.com [209.85.192.178]) by gmr-mx.google.com with ESMTPS id kg6si1792234pbb.1.2013.05.23.03.50.51 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:50:51 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.178 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.192.178; Received: by mail-pd0-f178.google.com with SMTP id w16so2748186pde.37 for ; Thu, 23 May 2013 03:50:51 -0700 (PDT) X-Received: by 10.68.250.229 with SMTP id zf5mr12079404pbc.148.1369306251205; Thu, 23 May 2013 03:50:51 -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.48 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:50:50 -0700 (PDT) From: Sachin Kamat To: rtc-linux@googlegroups.com Cc: a.zummo@towertech.it, akpm@linux-foundation.org, sachin.kamat@linaro.org, Subject: [rtc-linux] [PATCH 19/33] drivers/rtc/rtc-max8997.c: remove empty function Date: Thu, 23 May 2013 16:06:00 +0530 Message-Id: <1369305374-20433-19-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: ALoCoQmOe7G+iW+VfSzbkcK+YBusQZNaapzVDN0XmsJqgT++fGLeJD6UxuZ6tDDCdHhGDOIgUiPq X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.192.178 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: --- drivers/rtc/rtc-max8997.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/rtc/rtc-max8997.c b/drivers/rtc/rtc-max8997.c index 1683904..0777c01 100644 --- a/drivers/rtc/rtc-max8997.c +++ b/drivers/rtc/rtc-max8997.c @@ -507,11 +507,6 @@ err_out: return ret; } -static int max8997_rtc_remove(struct platform_device *pdev) -{ - return 0; -} - static void max8997_rtc_shutdown(struct platform_device *pdev) { struct max8997_rtc_info *info = platform_get_drvdata(pdev); @@ -531,7 +526,6 @@ static struct platform_driver max8997_rtc_driver = { .owner = THIS_MODULE, }, .probe = max8997_rtc_probe, - .remove = max8997_rtc_remove, .shutdown = max8997_rtc_shutdown, .id_table = rtc_id, };