Message ID | 1369305374-20433-26-git-send-email-sachin.kamat@linaro.org |
---|---|
State | Accepted |
Headers | show
Return-Path: <rtc-linux+bncBDM5LUP2XEPRBIHJ66GAKGQEZSJVA2Q@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-pa0-f55.google.com (mail-pa0-f55.google.com [209.85.220.55]) (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 CE8062C0089 for <incoming@patchwork.ozlabs.org>; Thu, 23 May 2013 20:51:14 +1000 (EST) Received: by mail-pa0-f55.google.com with SMTP id kp6sf1027743pab.10 for <incoming@patchwork.ozlabs.org>; Thu, 23 May 2013 03:51: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=mkrhGuMQm0D4z80TIYQUfDJiBn5IOP0qhYA2vc1pN1I=; b=ynWBrL5EqPjIJVPxEoBAgOweyBGJMMPc9wsaDAvG4iNiyLdNYV2k8LjCbtlchjnJwm iUR++NWwvP2PWnX1kpMKwEPBIuH2r0vWR8jHhlutJGo3jclMXa9uYVw3qf+rUAfj+MHg MYkQcEKlLLfF65OsTiQe+e8rRhp1YPG3qK7Xs+k6vFO3r1ORoL8vwRp/0o2N2S0OQqWk McBSVzw/ZZnsU8jiIQ4vvLsgWCsnob47O2fP2PWMgUkXFzPx1+/oRnkrLe5qpeh1vjYZ JEk6lG/hn1xjLVnstsE64q9f/kfCh4/SVNaTQ+VQ/FHwPJ5y+UAeYvtL952Ybn2rjGBZ 49qA== 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=mkrhGuMQm0D4z80TIYQUfDJiBn5IOP0qhYA2vc1pN1I=; b=J87F490MGh1wmy5elMoiQb6Dm2affdd4U2QMDNwGAkRGsMMwR6skMDUBYn9gjb/lgm DOpZlnvgk20aCQ7qXDmmog+oqjTd7vMyxYKTS1QEQtIFY4gpEGLSuo0mm0pb8qz2cjcU eb5CPFfIj24zFdBh2Q2E840FAJruVstodDEAQrlLXKL23uOm2PGAF3+53Y0iQvYEVRF2 1oVG91a5qJElxtTvMQm5bsIHZ6ddIn6QQWKjSNuUS9ctzcnVp+cVcsRt8+vnQ6GkHImH isSZI/VlVCZxJuqF8qo85DyVtsaE5MrP+7hMeCedDxNtB8gQYOPCE0N8HWc1LiXnszAq RyLg== X-Received: by 10.50.28.81 with SMTP id z17mr18110igg.13.1369306272891; Thu, 23 May 2013 03:51:12 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.50.50.6 with SMTP id y6ls1240378ign.18.canary; Thu, 23 May 2013 03:51:12 -0700 (PDT) X-Received: by 10.66.122.200 with SMTP id lu8mr1471405pab.4.1369306272617; Thu, 23 May 2013 03:51:12 -0700 (PDT) Received: from mail-pb0-x229.google.com (mail-pb0-x229.google.com [2607:f8b0:400e:c01::229]) by gmr-mx.google.com with ESMTPS id xb6si1870134pab.0.2013.05.23.03.51.12 for <rtc-linux@googlegroups.com> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:51:12 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400e:c01::229 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=2607:f8b0:400e:c01::229; Received: by mail-pb0-f41.google.com with SMTP id xb12so2746896pbc.0 for <rtc-linux@googlegroups.com>; Thu, 23 May 2013 03:51:12 -0700 (PDT) X-Received: by 10.68.129.10 with SMTP id ns10mr12345447pbb.13.1369306272550; Thu, 23 May 2013 03:51:12 -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.09 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:51:12 -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, Gregory Hermant <gregory.hermant@calao-systems.com> Subject: [rtc-linux] [PATCH 26/33] drivers/rtc/rtc-rv3029c2.c: remove empty function Date: Thu, 23 May 2013 16:06:07 +0530 Message-Id: <1369305374-20433-26-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: ALoCoQlT1chjhT4918gtnXUAwJz8QBRwgI0fynIxitbxHE2mqYbc9V6I3WzNHRXcddlbdaEi4vG5 X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 2607:f8b0:400e:c01::229 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-rv3029c2.c b/drivers/rtc/rtc-rv3029c2.c index 9100a34..1a779a6 100644 --- a/drivers/rtc/rtc-rv3029c2.c +++ b/drivers/rtc/rtc-rv3029c2.c @@ -412,17 +412,11 @@ static int rv3029c2_probe(struct i2c_client *client, return 0; } -static int rv3029c2_remove(struct i2c_client *client) -{ - return 0; -} - static struct i2c_driver rv3029c2_driver = { .driver = { .name = "rtc-rv3029c2", }, .probe = rv3029c2_probe, - .remove = rv3029c2_remove, .id_table = rv3029c2_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: Gregory Hermant <gregory.hermant@calao-systems.com> --- drivers/rtc/rtc-rv3029c2.c | 6 ------ 1 file changed, 6 deletions(-)