From patchwork Thu May 23 10:35:47 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 245887 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-pb0-x23e.google.com (mail-pb0-x23e.google.com [IPv6:2607:f8b0:400e:c01::23e]) (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 090832C0090 for ; Thu, 23 May 2013 20:50:15 +1000 (EST) Received: by mail-pb0-f62.google.com with SMTP id md12sf971353pbc.7 for ; Thu, 23 May 2013 03:50:13 -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=1S0iAO42Cl93vYrXJi0d6lkjRZE3Mqgh1fC42lKUcbs=; b=GMkUnbs3JaWHHYuDNxujbNYyaIyDxuOaILfV95XdmwJa79EtjngcKlWMkKmdNKIeUI 6B7gETj+jehx2PJ0UgBw0jyMpYpjarR1E9QRPc1PkIeaGgAUhquLObqu21klrYHLHUsT fwNSeL67Hgx1zZ6JPAz8kE10KImN4uFM9+qJMnRdD9UiHa4Mn8E3NZ0m/n9V+GceIr4V ncWGoufTa72J9BQ0j6QA7YHqj3HfLEzm0hGcleTV3scHnhISkaYm8+8KAZT06FTvbhXc ANhy1bKF5MeU2866fFwiHIGALr1CdqCPQjqz10gpUEF3XtL8oQxLcMWD//X445jy8EzS mmVw== 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=1S0iAO42Cl93vYrXJi0d6lkjRZE3Mqgh1fC42lKUcbs=; b=Y8S8h/bEIGSV8CchP4yQV+cbj11lKdxRbprqLSwjMSA/Rh0OJQgJmGiWXtBQWUrV0v zzycgoyZGbnDcKZwOX7s1Mx2bshqDU5KZ+orPqIk7RNeE4ARjR6ZJZrE+1pvV2Fac3LF SUrIBDnt+Py3P/aPVOuiJevQ02RRgXEQ8RQC8UIIy0AiYTHjmhWb6xJRNKsoOVf1+CvH sapPBF5kviDAq1ocisnDoqPgPTVTGoPi86nVhksn44pUgwKvkKBpNSqWdWcReZ1FEd+l PQMeuGxH0TAbIR1WUMWhBnF0V0qRdqhmUfxH18EmBAa24hRIzSqHxdv3+cfkMZrhcd62 ocLQ== X-Received: by 10.50.41.104 with SMTP id e8mr2591293igl.5.1369306213590; Thu, 23 May 2013 03:50:13 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.50.36.103 with SMTP id p7ls1583426igj.33.gmail; Thu, 23 May 2013 03:50:13 -0700 (PDT) X-Received: by 10.66.192.8 with SMTP id hc8mr777258pac.11.1369306213276; Thu, 23 May 2013 03:50:13 -0700 (PDT) Received: from mail-pa0-f45.google.com (mail-pa0-f45.google.com [209.85.220.45]) by gmr-mx.google.com with ESMTPS id kg6si1791455pbb.1.2013.05.23.03.50.13 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:50:13 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.45 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.220.45; Received: by mail-pa0-f45.google.com with SMTP id lj1so2831847pab.4 for ; Thu, 23 May 2013 03:50:13 -0700 (PDT) X-Received: by 10.68.255.130 with SMTP id aq2mr11906823pbd.164.1369306213211; Thu, 23 May 2013 03:50:13 -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.10 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:50:12 -0700 (PDT) From: Sachin Kamat To: rtc-linux@googlegroups.com Cc: a.zummo@towertech.it, akpm@linux-foundation.org, sachin.kamat@linaro.org, Dennis Aberilla Subject: [rtc-linux] [PATCH 06/33] drivers/rtc/rtc-ds3234.c: remove empty function Date: Thu, 23 May 2013 16:05:47 +0530 Message-Id: <1369305374-20433-6-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: ALoCoQmMk2mBIU49pCE+h9ectpBHOLR+vYwa536Bmq0BvL1U7VDF6hNUBSoOEudGNF+MnTRMeBR0 X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.220.45 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: Dennis Aberilla --- drivers/rtc/rtc-ds3234.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/rtc/rtc-ds3234.c b/drivers/rtc/rtc-ds3234.c index 67f1a80..4c9ba53 100644 --- a/drivers/rtc/rtc-ds3234.c +++ b/drivers/rtc/rtc-ds3234.c @@ -156,18 +156,12 @@ static int ds3234_probe(struct spi_device *spi) return 0; } -static int ds3234_remove(struct spi_device *spi) -{ - return 0; -} - static struct spi_driver ds3234_driver = { .driver = { .name = "ds3234", .owner = THIS_MODULE, }, .probe = ds3234_probe, - .remove = ds3234_remove, }; module_spi_driver(ds3234_driver);