From patchwork Thu May 23 10:35:43 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 245883 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-oa0-f56.google.com (mail-oa0-f56.google.com [209.85.219.56]) (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 79C1C2C0090 for ; Thu, 23 May 2013 20:50:04 +1000 (EST) Received: by mail-oa0-f56.google.com with SMTP id o6sf973239oag.11 for ; Thu, 23 May 2013 03:50:02 -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=tfGfQU7bOZT1fwDXcVPmbJ6DX49UymaZnKLf9U4s5tY=; b=atk3bdIBdpKxxAGhSOPVz4nPx0DzVZKvsTg/7ULL14JnqbuXkz0KWoNEkmJPDa1PYf WMF96GHKY7/VqJxw5UMWkqzGy6y46sgVTRtZ5CqvGKFae9NPBHGcYBK6OIaK9sbHDNzp lHiGJ8quOpTODH/6fttWi4y9tWVX+CjyxG/hGhROXP7UTk+9B8RfgBZu7GoHjs5Wg780 Ahc+JfX4vYhB9s/WISXHO5qkl52sCXWZw2CuUzVKqjTwjPYxdhPz3g5JW361kXNVEB+p Jnf5JlESrQfqFq1UHwlJM1crfpQfqECvrkS05NTpifrf/t8ZF0cTM1kMNqnegkVbxJIn +DNA== 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=tfGfQU7bOZT1fwDXcVPmbJ6DX49UymaZnKLf9U4s5tY=; b=QqUOIAWJYXtiXZiCzOrMCm4ohnFsZFDFIOTUA0DnbpGvBopUZExooQqLcHZDfGoXJy l3jdde6iy5a3DSlQDQJL6GQPB9AqeblqQQItH3J2d5aIRMBGAY5h7dbk+erk/g3z4QNs GATM6Onsk4+C+FTnrejhaOtfZgFxNagNZYJ/2O//XOMGKDIC3Xu8i73KaIS3FqMNjpp9 yYcW64bXkKTBXcWI+54jMOAWNovezf+SfPZZfvg4VJv2eK8sfN1aE3tZi2y5TVhwkPRQ N7mLvF4An3r8GN6z84Z4qQ+JTLzhbNgumAjDE6aWOOlR7CzqJE6zxQruyQ/Iq2PIH8yW C/Qg== X-Received: by 10.50.114.97 with SMTP id jf1mr1246630igb.15.1369306202236; Thu, 23 May 2013 03:50:02 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.50.130.79 with SMTP id oc15ls1514748igb.15.gmail; Thu, 23 May 2013 03:50:02 -0700 (PDT) X-Received: by 10.68.197.196 with SMTP id iw4mr1489403pbc.7.1369306201968; Thu, 23 May 2013 03:50:01 -0700 (PDT) Received: from mail-pd0-f182.google.com (mail-pd0-f182.google.com [209.85.192.182]) by gmr-mx.google.com with ESMTPS id kg6si1791576pbb.1.2013.05.23.03.50.01 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:50:01 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.182 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.192.182; Received: by mail-pd0-f182.google.com with SMTP id g10so2728867pdj.27 for ; Thu, 23 May 2013 03:50:01 -0700 (PDT) X-Received: by 10.68.160.162 with SMTP id xl2mr12604926pbb.84.1369306201881; Thu, 23 May 2013 03:50:01 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id xu10sm12361273pab.3.2013.05.23.03.49.59 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:50:01 -0700 (PDT) From: Sachin Kamat To: rtc-linux@googlegroups.com Cc: a.zummo@towertech.it, akpm@linux-foundation.org, sachin.kamat@linaro.org, Thomas Bogendoerfer Subject: [rtc-linux] [PATCH 02/33] drivers/rtc/rtc-ds1216.c: remove empty function Date: Thu, 23 May 2013 16:05:43 +0530 Message-Id: <1369305374-20433-2-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: ALoCoQmLFXowcAeCch2vTkLubvhh8FV68aVk/l5q0+p3/Tq3zZtWGhZ6tnZloJeVcdVVZKRa8ofa X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.192.182 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: Thomas Bogendoerfer --- drivers/rtc/rtc-ds1216.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/rtc/rtc-ds1216.c b/drivers/rtc/rtc-ds1216.c index c7702b7..1831c84 100644 --- a/drivers/rtc/rtc-ds1216.c +++ b/drivers/rtc/rtc-ds1216.c @@ -167,17 +167,11 @@ static int __init ds1216_rtc_probe(struct platform_device *pdev) return 0; } -static int __exit ds1216_rtc_remove(struct platform_device *pdev) -{ - return 0; -} - static struct platform_driver ds1216_rtc_platform_driver = { .driver = { .name = "rtc-ds1216", .owner = THIS_MODULE, }, - .remove = __exit_p(ds1216_rtc_remove), }; static int __init ds1216_rtc_init(void)