From patchwork Thu May 23 10:36:14 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 245915 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-pb0-x240.google.com (mail-pb0-x240.google.com [IPv6:2607:f8b0:400e:c01::240]) (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 DD7362C00AA for ; Thu, 23 May 2013 20:51:34 +1000 (EST) Received: by mail-pb0-f64.google.com with SMTP id wz12sf953391pbc.29 for ; Thu, 23 May 2013 03:51:33 -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=Ku6zrgAJS5oMGkhS9zS0KFNUcKgLfBv8SIY5n8vZM0w=; b=Xn5EL4Rm4Ck6towaCCnB9oE8OwRic4dDyDPf8XoGhJObnBpH/zLHf4Xrqk2/H/Q8Vc MZ2ERhR4S7VYPQTxM3Fk1EP6ts4i75ULHGRy5pFOtlMnI7xa9rCvrnOWnyHQJyiU7PKx OatYuFb+GPTWy+uPzHocFSQs2HbRpJf34ZncjMM0LVQeebPB8ljzcPYZSHnGKOUCzPSo olXS4sw1bh6HRsE2VmjQixr60v1/fJGT9ii8xShJFbTBgMK/Oi/VkusqsVgAkri6Belm IfVBkU8XepQ9AblVUFGm4LPSZZMDQ69Xk1Rf5JHli+yvbh0UmIaONHBw1YHsueygUknL B0IA== 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=Ku6zrgAJS5oMGkhS9zS0KFNUcKgLfBv8SIY5n8vZM0w=; b=nmASUJuZ18pw+pi1XATmvAE5MntABeRXUrglyS7uuamHpVqkQbEnYf8Bgxg4XsiFka i6bol7AiVfvNUlwKYRbJhl5jVFc+u4PjoLxSWTpjRe/vTJJpbcrOwemCT5XUnkZjcaO6 bLKa7dLgR+wHi59SHPGLMzd9Noq/f4loHa6BGuSfvo0L7/usDpGgi8aznq6c4mOAX9iT Cn8+aQiRvkiBv1naIWQqja1PghGQqihGeTUf5BlB5zDG88txLQfB22F/o0kJVFZHIYET Dhd21ehVsZzhN72PEhW6vfzluy1M1x+ASlKYE9vjv/0j24WDIlowQLY34NdwfoiH/B0b fp/Q== X-Received: by 10.50.39.84 with SMTP id n20mr2596471igk.13.1369306292981; Thu, 23 May 2013 03:51:32 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.50.21.105 with SMTP id u9ls1620482ige.19.canary; Thu, 23 May 2013 03:51:32 -0700 (PDT) X-Received: by 10.66.102.33 with SMTP id fl1mr1595202pab.38.1369306292763; Thu, 23 May 2013 03:51:32 -0700 (PDT) Received: from mail-pd0-f169.google.com (mail-pd0-f169.google.com [209.85.192.169]) by gmr-mx.google.com with ESMTPS id kg6si1791561pbb.1.2013.05.23.03.51.32 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:51:32 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.169 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.192.169; Received: by mail-pd0-f169.google.com with SMTP id y11so2758962pdj.14 for ; Thu, 23 May 2013 03:51:32 -0700 (PDT) X-Received: by 10.68.105.131 with SMTP id gm3mr12399559pbb.168.1369306292692; Thu, 23 May 2013 03:51:32 -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.29 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:51:32 -0700 (PDT) From: Sachin Kamat To: rtc-linux@googlegroups.com Cc: a.zummo@towertech.it, akpm@linux-foundation.org, sachin.kamat@linaro.org, Mark Brown Subject: [rtc-linux] [PATCH 33/33] drivers/rtc/rtc-wm831x.c: remove empty function Date: Thu, 23 May 2013 16:06:14 +0530 Message-Id: <1369305374-20433-33-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: ALoCoQnXXiS9bnHzg6f2O0a9/rgE6PIlcFHVz7C39QnQx4u9bwEiPrQbmebMgFlBhAhF60xkdrtL X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.192.169 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: Mark Brown Acked-by: Mark Brown --- drivers/rtc/rtc-wm831x.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/rtc/rtc-wm831x.c b/drivers/rtc/rtc-wm831x.c index 8d65b94..75aea4c 100644 --- a/drivers/rtc/rtc-wm831x.c +++ b/drivers/rtc/rtc-wm831x.c @@ -460,11 +460,6 @@ err: return ret; } -static int wm831x_rtc_remove(struct platform_device *pdev) -{ - return 0; -} - static const struct dev_pm_ops wm831x_rtc_pm_ops = { .suspend = wm831x_rtc_suspend, .resume = wm831x_rtc_resume, @@ -478,7 +473,6 @@ static const struct dev_pm_ops wm831x_rtc_pm_ops = { static struct platform_driver wm831x_rtc_driver = { .probe = wm831x_rtc_probe, - .remove = wm831x_rtc_remove, .driver = { .name = "wm831x-rtc", .pm = &wm831x_rtc_pm_ops,