From patchwork Thu May 23 10:36:11 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 245912 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-ie0-x23c.google.com (mail-ie0-x23c.google.com [IPv6:2607:f8b0:4001:c03::23c]) (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 EE51A2C0089 for ; Thu, 23 May 2013 20:51:26 +1000 (EST) Received: by mail-ie0-f188.google.com with SMTP id e11sf956010iej.5 for ; Thu, 23 May 2013 03:51:24 -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=qy29ENryN3ehIOBns9p2wZWhvCGpnlf97mqO4A346X4=; b=E18+fTK0FiuHzXX99hiPr3SF8iitEQavddVd8u2+ioTXW7lwTPKRQpPaIZq/5B8er+ XKC6hs+kilDqC0OVZrgDyVnq/ktjgyL9/6pl/vB+zgNrensLFh07D/EWhMDtvSON5S+Q 4IZAW0J1mAgt6sRSq+s2aA4nPGbwJuffLkfrHjEzSOFz0w26UdNaV80EzW2fAcQ++A6W hGxpY3Bf6JfPf5xeI5B7cU5IFdbSt/EmqyGZDEX/bSdkddeLrMiE35DCOeo/gwU9YLJW x1bFHKUhd4I753X1MmpwkXKQ6u/aBoJj90jXZQI2PErZ9WuRgztGnfelxKTDD7jglFbZ ZMlw== 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=qy29ENryN3ehIOBns9p2wZWhvCGpnlf97mqO4A346X4=; b=BwrGLPyeGh6OjSWnQjr0uhPNh2UsDfSSiK6uSsQ4jlLlh5mFICatzNQ1kc3dp5pLmr qX8nSaemMADiIH/ysOzPZ9n/DJ5p+3XjgjMXjxzBx/x/PRmJARxL/oaSewN8coGpPNhX hB32cFRh21ZF+T3Lx6ccHdx3zUOcsQXspD5pVwxml6PnDNcKSUB/HGwh8RJnNVlyl8Fd HqYS5GBJY5MW6WNsdecd4OQc/S3+vzfERSBLOJ0VEfHghCSpL+ny7SrKq2yFJkqPdNlb jHopQS9Msjtz3Qd9qEyDpfY2P6Iz3H5qOt93mPQkmBkCN9J2vA4vJWGT57xAy94tfxLA 5hMw== X-Received: by 10.50.147.98 with SMTP id tj2mr18374igb.10.1369306284574; Thu, 23 May 2013 03:51:24 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.50.97.73 with SMTP id dy9ls4007056igb.10.canary; Thu, 23 May 2013 03:51:24 -0700 (PDT) X-Received: by 10.66.102.33 with SMTP id fl1mr1595175pab.38.1369306284307; Thu, 23 May 2013 03:51:24 -0700 (PDT) Received: from mail-pa0-f52.google.com (mail-pa0-f52.google.com [209.85.220.52]) by gmr-mx.google.com with ESMTPS id sj3si1868328pab.1.2013.05.23.03.51.24 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:51:24 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.52 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.220.52; Received: by mail-pa0-f52.google.com with SMTP id bg2so2825267pad.11 for ; Thu, 23 May 2013 03:51:24 -0700 (PDT) X-Received: by 10.66.20.66 with SMTP id l2mr12470968pae.205.1369306284077; Thu, 23 May 2013 03:51:24 -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.21 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:51:23 -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 30/33] drivers/rtc/rtc-starfire.c: remove empty function Date: Thu, 23 May 2013 16:06:11 +0530 Message-Id: <1369305374-20433-30-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: ALoCoQnn3OuYbSpaiiDHGT8aWnuzJ/990PAqHhND3XSffv6iCJaVeUy1FcmKThP9izyxi0eBJzAv X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.220.52 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 --- drivers/rtc/rtc-starfire.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/rtc/rtc-starfire.c b/drivers/rtc/rtc-starfire.c index 987b5ec..f7d8a6d 100644 --- a/drivers/rtc/rtc-starfire.c +++ b/drivers/rtc/rtc-starfire.c @@ -51,17 +51,11 @@ static int __init starfire_rtc_probe(struct platform_device *pdev) return 0; } -static int __exit starfire_rtc_remove(struct platform_device *pdev) -{ - return 0; -} - static struct platform_driver starfire_rtc_driver = { .driver = { .name = "rtc-starfire", .owner = THIS_MODULE, }, - .remove = __exit_p(starfire_rtc_remove), }; module_platform_driver_probe(starfire_rtc_driver, starfire_rtc_probe);