Message ID | 1369305374-20433-9-git-send-email-sachin.kamat@linaro.org |
---|---|
State | Accepted |
Headers | show
Return-Path: <rtc-linux+bncBDM5LUP2XEPRB3XI66GAKGQEJ3K37XQ@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-oa0-f60.google.com (mail-oa0-f60.google.com [209.85.219.60]) (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 2E5C12C016F for <incoming@patchwork.ozlabs.org>; Thu, 23 May 2013 20:50:24 +1000 (EST) Received: by mail-oa0-f60.google.com with SMTP id h1sf963344oag.5 for <incoming@patchwork.ozlabs.org>; Thu, 23 May 2013 03:50:23 -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=xE0r7K8n8um7orBEy6SVe+x8P9l3byx/AInsau8ctN4=; b=o0aYLzZ9GwIRmkL/JHtZVGOGmoTqud1pOjueQW7ngrPRfDAWtud5Wp82l2r3CeWKZq XvRpdFKKjexov0Tuk3xikepMPWDA5cRyJ8SQ2u/ErfHZWF/ECFGsEi90IAWUcd6YzclG 3psjyuguWxfMXCB+cxPpMwTYsX55+WQ3g7mHLKDZzHGjI38gdYdwPS/ue13sBHnoNnhx Gf8S4g2VjXdoDStJn8iq4BZlM1vi0KoY4k52NHvvWxOKqQ4DvHDNAR60eLembk8o0Y1B f5fbJeQPWNuKtSaIE5nyL4Gc1N1rOeRg6ZINTyF12zmxYQ1O/NwYz0WoOWq8qtJjiocM vQdw== 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=xE0r7K8n8um7orBEy6SVe+x8P9l3byx/AInsau8ctN4=; b=ahGLHntHDzbOcvH0L7/Xm1e86QANShfagEx/bnuHVi0n/Wb+v/zei1ZkN/03mTY6rm lQmKkEv8rzD1TllFfSjqIJsR2YyeNEiNEB1oVbrQkM47aSPlr7z8pA7nJbJZGRVObNu4 e9WsI4gzOxhA/pScg2dNXKGVLUQiXD/E9xeAKw2XUlarNk4+iaTJGSvYSiOJaHNm3ewp VMHAeq4lSswCr7qlVVa1Uf9o+E2v2uwv6XBZCOdg4+MDdkY3b1W0CNp/ZhIaLXj0lFIn 2dwAZNTIHu4fN0FfcGuyG5S9tTVKSPX5DmheM0R9i0A/KPkZbc36mNNf2kyXwodzk0UO FXKw== X-Received: by 10.50.127.231 with SMTP id nj7mr2597005igb.17.1369306222933; Thu, 23 May 2013 03:50:22 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.50.50.165 with SMTP id d5ls2552249igo.40.canary; Thu, 23 May 2013 03:50:22 -0700 (PDT) X-Received: by 10.66.122.39 with SMTP id lp7mr1557988pab.44.1369306222692; Thu, 23 May 2013 03:50:22 -0700 (PDT) Received: from mail-pd0-f173.google.com (mail-pd0-f173.google.com [209.85.192.173]) by gmr-mx.google.com with ESMTPS id sj3si1867887pab.1.2013.05.23.03.50.22 for <rtc-linux@googlegroups.com> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:50:22 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.173 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.192.173; Received: by mail-pd0-f173.google.com with SMTP id v14so1512108pde.32 for <rtc-linux@googlegroups.com>; Thu, 23 May 2013 03:50:22 -0700 (PDT) X-Received: by 10.67.3.39 with SMTP id bt7mr12544988pad.148.1369306222612; Thu, 23 May 2013 03:50:22 -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.19 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:50:21 -0700 (PDT) From: Sachin Kamat <sachin.kamat@linaro.org> To: rtc-linux@googlegroups.com Cc: a.zummo@towertech.it, akpm@linux-foundation.org, sachin.kamat@linaro.org, Sergey Lapin <slapin@ossfans.org> Subject: [rtc-linux] [PATCH 09/33] drivers/rtc/rtc-fm3130.c: remove empty function Date: Thu, 23 May 2013 16:05:50 +0530 Message-Id: <1369305374-20433-9-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: ALoCoQk0I3kXoBg1GRJFqlHbcfrXkAyToK6nO5OvGS3PsvsAZgM2knGkXMnxfFRrZr2U9lOj6HjP X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.192.173 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: <rtc-linux.googlegroups.com> X-Google-Group-Id: 712029733259 List-Post: <http://groups.google.com/group/rtc-linux/post?hl=en_US>, <mailto:rtc-linux@googlegroups.com> List-Help: <http://groups.google.com/support/?hl=en_US>, <mailto:rtc-linux+help@googlegroups.com> List-Archive: <http://groups.google.com/group/rtc-linux?hl=en_US> Sender: rtc-linux@googlegroups.com List-Subscribe: <http://groups.google.com/group/rtc-linux/subscribe?hl=en_US>, <mailto:rtc-linux+subscribe@googlegroups.com> List-Unsubscribe: <http://groups.google.com/group/rtc-linux/subscribe?hl=en_US>, <mailto:googlegroups-manage+712029733259+unsubscribe@googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1 |
diff --git a/drivers/rtc/rtc-fm3130.c b/drivers/rtc/rtc-fm3130.c index 8f053da..83c3b30 100644 --- a/drivers/rtc/rtc-fm3130.c +++ b/drivers/rtc/rtc-fm3130.c @@ -520,18 +520,12 @@ exit_free: return err; } -static int fm3130_remove(struct i2c_client *client) -{ - return 0; -} - static struct i2c_driver fm3130_driver = { .driver = { .name = "rtc-fm3130", .owner = THIS_MODULE, }, .probe = fm3130_probe, - .remove = fm3130_remove, .id_table = fm3130_id, };
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 <sachin.kamat@linaro.org> Cc: Sergey Lapin <slapin@ossfans.org> --- drivers/rtc/rtc-fm3130.c | 6 ------ 1 file changed, 6 deletions(-)