Message ID | 1369305374-20433-8-git-send-email-sachin.kamat@linaro.org |
---|---|
State | Accepted |
Headers | show
Return-Path: <rtc-linux+bncBDM5LUP2XEPRB27I66GAKGQEABHIASA@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-gh0-f185.google.com (mail-gh0-f185.google.com [209.85.160.185]) (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 D5FCB2C0090 for <incoming@patchwork.ozlabs.org>; Thu, 23 May 2013 20:50:21 +1000 (EST) Received: by mail-gh0-f185.google.com with SMTP id g22sf973277ghb.22 for <incoming@patchwork.ozlabs.org>; Thu, 23 May 2013 03:50:19 -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=N3tydwej+CANO2TTT2VV+Cjr5y8DlriRmRo0hpIAg7U=; b=EEUU+z6e1eXwiAkjog5Keqv51qmQXtY9PB93q439KeokSpSjYMiat8bJur0tSnsXxt S41DadiRpyZTDisM5G+ytlN5VLtzdK6BAjDlmH/cW0muGu8T3ZgOwN5+s7MFway6pwHE Lqp8wd5dpX0XAJEZGSi7HmkJkd6nfaMQUntSUYiMqJjzaotB62/yVbHPNazihIjXBwGh hAlciOUSHB3pb1z8BCnvlotIT9X07blXe47KLsoBANd5vdIRx5quODuWfpox0xJmbucz 8ltzlITOZxy9cMmAYBJBjI15bP/w6KUcJGdG+sjCPNZFEQN7zhM8t+BvvkQPwfjfiNMi d3qA== 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=N3tydwej+CANO2TTT2VV+Cjr5y8DlriRmRo0hpIAg7U=; b=p4JAaKH48L4Q3Eab0S5i9JMZVpEjsXyFkaZjrFDxRMIF6DZ6y6w5+eMcWkfKD4TlXP AhEN9RwRT97OGKHGuJ9APRZ0FOMOFqIMNA9N0rPvmPJ2c7Hc2QzvL8QC6hkSjQ5NcS7l EBFqHb2P55ypwg6HBbfEDAjaf2U19d+utC/fShV13Nxml8e8REIo1i2Qty8M8r5f4p9j hhfm629vgy0hur8u1+QlLCUi74GyR5+hWMRu3Dy6guyNyEyKbP1qYsN5HLHmLGgQ1awH L72zzk4yV+82Zhl8ezxTcZ2Pm4bf2r6vbi4tx6aJsIzd1KgLioiIg/w8ojcEp2Swixu3 FJ7A== X-Received: by 10.50.127.231 with SMTP id nj7mr2596982igb.17.1369306219480; Thu, 23 May 2013 03:50:19 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.50.131.197 with SMTP id oo5ls3941973igb.29.canary; Thu, 23 May 2013 03:50:19 -0700 (PDT) X-Received: by 10.66.189.195 with SMTP id gk3mr1590452pac.16.1369306219166; Thu, 23 May 2013 03:50:19 -0700 (PDT) Received: from mail-pd0-f175.google.com (mail-pd0-f175.google.com [209.85.192.175]) by gmr-mx.google.com with ESMTPS id cw1si1792837pbb.0.2013.05.23.03.50.19 for <rtc-linux@googlegroups.com> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:50:19 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.175 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.192.175; Received: by mail-pd0-f175.google.com with SMTP id 6so2399411pdd.20 for <rtc-linux@googlegroups.com>; Thu, 23 May 2013 03:50:19 -0700 (PDT) X-Received: by 10.66.252.133 with SMTP id zs5mr12628350pac.47.1369306219083; Thu, 23 May 2013 03:50:19 -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.16 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:50:18 -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, Mike Rapoport <mike@compulab.co.il> Subject: [rtc-linux] [PATCH 08/33] drivers/rtc/rtc-em3027.c: remove empty function Date: Thu, 23 May 2013 16:05:49 +0530 Message-Id: <1369305374-20433-8-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: ALoCoQm082KRB/RFmm23xXzqkXPU4fdGQPwEaO9x0xAAPXY0tMnXWBOLQmOV/9QHnUodAetQFKUr X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.192.175 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-em3027.c b/drivers/rtc/rtc-em3027.c index 3f9eb57..fccf366 100644 --- a/drivers/rtc/rtc-em3027.c +++ b/drivers/rtc/rtc-em3027.c @@ -131,11 +131,6 @@ static int em3027_probe(struct i2c_client *client, return 0; } -static int em3027_remove(struct i2c_client *client) -{ - return 0; -} - static struct i2c_device_id em3027_id[] = { { "em3027", 0 }, { } @@ -146,7 +141,6 @@ static struct i2c_driver em3027_driver = { .name = "rtc-em3027", }, .probe = &em3027_probe, - .remove = &em3027_remove, .id_table = em3027_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: Mike Rapoport <mike@compulab.co.il> --- drivers/rtc/rtc-em3027.c | 6 ------ 1 file changed, 6 deletions(-)