Message ID | 1369305374-20433-22-git-send-email-sachin.kamat@linaro.org |
---|---|
State | Accepted |
Headers | show
Return-Path: <rtc-linux+bncBDM5LUP2XEPRBE7J66GAKGQEF6MFG6Y@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-gh0-f191.google.com (mail-gh0-f191.google.com [209.85.160.191]) (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 8B9112C0089 for <incoming@patchwork.ozlabs.org>; Thu, 23 May 2013 20:51:02 +1000 (EST) Received: by mail-gh0-f191.google.com with SMTP id f13sf954416ghb.18 for <incoming@patchwork.ozlabs.org>; Thu, 23 May 2013 03:51:00 -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=mwvRuGLPiRWLeQ3GIp+qo3NR2te4yopOUHsA7p062aw=; b=cs/9plF/oRw8RC9UsHH/NLXCi81HyeZOw0tkRyxEHSgEuaUMTEHqQWCQrxH72hM50N Ksy/En13ntdKPmU0PGgAtZeOQBW/vSiKMKgpaC5UgiNui4SfCKk6nMYwLNdfneQ2BiQE SlPYDw2buWA3jh/9G8VxblF++Nxs0eD/F86QWqSCfzQerJU78kTRi4jR6ej71nAx2+5h pB9eRyQx3dniqkWrrFypXj5DG44d0CloFmUgihSqKfQDAF0Zk2dn0pfB2FmpFW5k2h21 vnUtmwzML3E7Q+DUgwOX59PAAgkEteFZUDKn0wm7O7xAqI2vEaV6rn7GVzZ/KKDiM+lc /e+A== 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=mwvRuGLPiRWLeQ3GIp+qo3NR2te4yopOUHsA7p062aw=; b=i7hTx8wZ6CRzcHVEACsXf/7iL2tqv4me7U6Ju1SBsyII9mrP+i+IfqoWVcJ0GzKlOJ QYYU4PNVk38Z5w2etVW33HK9ph+3qJCF4O9zkQMAAKs1FFodhnyHiXZJEzskWRY1RlVv pkjOPvpsCQBnagkBbzT4nXF6h+1aNhEJVbTX/kyzWuYsWHslTXjRrB/jSnZAkvtqgiSF UqkeGassUw8rK8HJPev0cK0TegSkd4yrX4e99yvjEuiuxB1vnteT7K0D+/w9YtLpOmxY R+49JCQ1tT7hcvC+NV91odEz4uq6ixFyOIfF+A8y+PU6vfsNFHRmXBhvGN2K0dLcCGUf GnyQ== X-Received: by 10.50.112.105 with SMTP id ip9mr1291687igb.1.1369306260176; Thu, 23 May 2013 03:51:00 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.50.106.107 with SMTP id gt11ls4150257igb.26.canary; Thu, 23 May 2013 03:50:59 -0700 (PDT) X-Received: by 10.66.25.41 with SMTP id z9mr1054920paf.1.1369306259832; Thu, 23 May 2013 03:50:59 -0700 (PDT) Received: from mail-pb0-x236.google.com (mail-pb0-x236.google.com [2607:f8b0:400e:c01::236]) by gmr-mx.google.com with ESMTPS id xb6si1870040pab.0.2013.05.23.03.50.59 for <rtc-linux@googlegroups.com> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:50:59 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400e:c01::236 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=2607:f8b0:400e:c01::236; Received: by mail-pb0-f54.google.com with SMTP id ro12so2749082pbb.13 for <rtc-linux@googlegroups.com>; Thu, 23 May 2013 03:50:59 -0700 (PDT) X-Received: by 10.66.20.66 with SMTP id l2mr12469613pae.205.1369306259751; Thu, 23 May 2013 03:50:59 -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.57 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:50:59 -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 Subject: [rtc-linux] [PATCH 22/33] drivers/rtc/rtc-pcf8583.c: remove empty function Date: Thu, 23 May 2013 16:06:03 +0530 Message-Id: <1369305374-20433-22-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: ALoCoQlzGYGt0DFNbl5U8oFSB7Sv8/wybvPRtSspgzX6vBLi/FGk3QofiZkBDvvlCIYWUCnfjm1P X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 2607:f8b0:400e:c01::236 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-pcf8583.c b/drivers/rtc/rtc-pcf8583.c index 9971f7f..ab740cd 100644 --- a/drivers/rtc/rtc-pcf8583.c +++ b/drivers/rtc/rtc-pcf8583.c @@ -290,11 +290,6 @@ static int pcf8583_probe(struct i2c_client *client, return 0; } -static int pcf8583_remove(struct i2c_client *client) -{ - return 0; -} - static const struct i2c_device_id pcf8583_id[] = { { "pcf8583", 0 }, { } @@ -307,7 +302,6 @@ static struct i2c_driver pcf8583_driver = { .owner = THIS_MODULE, }, .probe = pcf8583_probe, - .remove = pcf8583_remove, .id_table = pcf8583_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> --- drivers/rtc/rtc-pcf8583.c | 6 ------ 1 file changed, 6 deletions(-)