From patchwork Thu May 23 10:35:54 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 245894 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-pa0-f62.google.com (mail-pa0-f62.google.com [209.85.220.62]) (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 B42E92C0178 for ; Thu, 23 May 2013 20:50:36 +1000 (EST) Received: by mail-pa0-f62.google.com with SMTP id fa10sf1031745pad.27 for ; Thu, 23 May 2013 03:50:34 -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=cH8vOM046ijdIpcESE9oGysOCpLwlWLcqWjzspU1lwA=; b=wlluR8JoX3XCbxCATZ5tFVbqFoqH4si+IpPBUMOCjoIJwyt8Yae87/NHMM53cjn6mr NPrmbPYNHY7oyuYdDkzW08+PsRNxVGw1QPpI/BjmdT8KfF9TFntJ8BLwTZWbIpEK/Ccc gUtvb4ZP65A5ddmxxXQX7a/fCraKu55vjTXHxtBvoj/k49r8vHJSGj/O7Vfx+KAvOUw7 BjS85mTEUKC4yzs7YkLrn4rJPv3mqcvn9smIHH/21WEPw65GmsFsypkj8k98NINpY1aL yaLhArJ+3RhLrchLUfqguZxwZ/vjBWlaZIwGNEKAM1UkFeoMrtgmgCtHTiPH0xsQqqOP iOcA== 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=cH8vOM046ijdIpcESE9oGysOCpLwlWLcqWjzspU1lwA=; b=M/AL5bh7UuoJ8Es+2LpPnQfMsQ18Edmk8TjY6Z4I256OyYJCD3RFiTllXFkZ59D9H6 CpZXrEuKBbs8aUBBNI4W+7KHFmEiokYBUVRRy1Q/77jbX0Xla0muKNBUpCpuDoWREjnT nOWdYquhVJY0L6zqGqZTadxTjiTsIt5HhIaowy8b1dRq/niRRb0wtRN+BQn1vMh+QmPq TnHGxNlTjKb5/1dAH9+2MaVtYUohBLRS8na6XczL6AMdTj+sE9iYbjWu9V0Sk6qsp4t+ kj0diJndAsj1GKsMYz/fWWsWXvRO9Dwh4heNTQLZR/GmghVfB5hGQvD9KM3PExcRKyTf 7YVg== X-Received: by 10.50.147.98 with SMTP id tj2mr18152igb.10.1369306234638; Thu, 23 May 2013 03:50:34 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.50.44.79 with SMTP id c15ls549103igm.39.canary; Thu, 23 May 2013 03:50:34 -0700 (PDT) X-Received: by 10.66.121.201 with SMTP id lm9mr1442695pab.10.1369306234341; Thu, 23 May 2013 03:50:34 -0700 (PDT) Received: from mail-pa0-f46.google.com (mail-pa0-f46.google.com [209.85.220.46]) by gmr-mx.google.com with ESMTPS id kg6si1788464pbb.1.2013.05.23.03.50.34 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:50:34 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.46 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.220.46; Received: by mail-pa0-f46.google.com with SMTP id fa10so2805065pad.5 for ; Thu, 23 May 2013 03:50:34 -0700 (PDT) X-Received: by 10.68.234.100 with SMTP id ud4mr12407944pbc.9.1369306234279; Thu, 23 May 2013 03:50:34 -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.31 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:50:33 -0700 (PDT) From: Sachin Kamat To: rtc-linux@googlegroups.com Cc: a.zummo@towertech.it, akpm@linux-foundation.org, sachin.kamat@linaro.org, "Kim B. Heino" Subject: [rtc-linux] [PATCH 13/33] drivers/rtc/rtc-m41t94.c: remove empty function Date: Thu, 23 May 2013 16:05:54 +0530 Message-Id: <1369305374-20433-13-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: ALoCoQk0izm6B3yRFGwNKXOl1ZQAaJ7cdgtpQtf6TLZKljZ0kS2lzYJzw5Zp2u8Kl6ely2qhIA3y X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.220.46 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: Kim B. Heino --- drivers/rtc/rtc-m41t94.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/rtc/rtc-m41t94.c b/drivers/rtc/rtc-m41t94.c index 7454ef0..8d800b1 100644 --- a/drivers/rtc/rtc-m41t94.c +++ b/drivers/rtc/rtc-m41t94.c @@ -134,18 +134,12 @@ static int m41t94_probe(struct spi_device *spi) return 0; } -static int m41t94_remove(struct spi_device *spi) -{ - return 0; -} - static struct spi_driver m41t94_driver = { .driver = { .name = "rtc-m41t94", .owner = THIS_MODULE, }, .probe = m41t94_probe, - .remove = m41t94_remove, }; module_spi_driver(m41t94_driver);