From patchwork Thu May 23 10:35:46 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 245886 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-oa0-f64.google.com (mail-oa0-f64.google.com [209.85.219.64]) (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 DAAFF2C0090 for ; Thu, 23 May 2013 20:50:12 +1000 (EST) Received: by mail-oa0-f64.google.com with SMTP id i10sf993059oag.19 for ; Thu, 23 May 2013 03:50:10 -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=vGy9r6eKIrE8pUC9ahuF79xXljzIxSCKTab6CTUA//Q=; b=BGSMJB9MvQR742Dk8dlsMWmaWO38eNuKTp9byWh5J+1plaw6uKHGJtilnToVbC+uNo r8zN9E7CE8u3xlbgyNBc9DyHE3ewX7n1d2nuXSmZEVFj7KmS96aVilVLy37h1NlcYoh8 3bYVkZbIjv7K85vj9yPV9NZgrkgeYCcrBnumsDOhh1e1zJp4Ugb+/MQ7/4hWHjb76H9h DIOarGGsq4X6UP+whhcH28eWYMOSqPSUV97lbmGy0mif8C0zuhnLa7/AOk+VQyJAkFgr 04xpdoLxdF/dDWWvzMNCXJ0hUpM8I+5UOHcWV+kJc2x1huA6FnuNQEE55l1OkNeyH1oc 1GBA== 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=vGy9r6eKIrE8pUC9ahuF79xXljzIxSCKTab6CTUA//Q=; b=ZbLP0YZZxCcQfPLv+njQ0GB1i3UuzG1q5v7WtNlYzG1tb8S9tTogny5H+THvSWVHHJ OauVIl04znhRX7Pc/YRa03ieGQbFINKHirabhFpoLfQbEV22xwVuGLw8oAjWvlC3RIqu kcJfsjFz4TGzR1LHnmTpuFIwbrIsioZtKc4AbaM3bwRFUaOEnVQJmlAKEUMuqCWEYIWb ywgMVPOu7OAB1GLgLkI09sGWQE+DHu5bb40APBZpBuBsQuv/7aHBXl6INZ3A+zWUjENP sx6AUcoR4fF/9pfgPMSlFLNHTe4+vNnSQvTayAAK9G7eF5VGmYqK67a3nukwITURziU5 zLCw== X-Received: by 10.50.29.17 with SMTP id f17mr2600464igh.7.1369306210634; Thu, 23 May 2013 03:50:10 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.50.171.38 with SMTP id ar6ls4040286igc.35.canary; Thu, 23 May 2013 03:50:10 -0700 (PDT) X-Received: by 10.66.27.44 with SMTP id q12mr1479628pag.9.1369306210387; Thu, 23 May 2013 03:50:10 -0700 (PDT) Received: from mail-pa0-f46.google.com (mail-pa0-f46.google.com [209.85.220.46]) by gmr-mx.google.com with ESMTPS id kg6si1788464pbb.1.2013.05.23.03.50.10 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:50:10 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.46 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.220.46; Received: by mail-pa0-f46.google.com with SMTP id fa10so2805065pad.5 for ; Thu, 23 May 2013 03:50:10 -0700 (PDT) X-Received: by 10.66.157.130 with SMTP id wm2mr12627114pab.156.1369306210318; Thu, 23 May 2013 03:50:10 -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.07 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:50:09 -0700 (PDT) From: Sachin Kamat To: rtc-linux@googlegroups.com Cc: a.zummo@towertech.it, akpm@linux-foundation.org, sachin.kamat@linaro.org Subject: [rtc-linux] [PATCH 05/33] drivers/rtc/rtc-ds1672.c: remove empty function Date: Thu, 23 May 2013 16:05:46 +0530 Message-Id: <1369305374-20433-5-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: ALoCoQkr4FPQeYbOLh51pgdYJUfNrQ8061pMblqKYzv9Yn3hWG/X3F9b6fPYp3U+8gDhixvx9n1f X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.220.46 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 --- drivers/rtc/rtc-ds1672.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/rtc/rtc-ds1672.c b/drivers/rtc/rtc-ds1672.c index 3fc2a47..18e2d84 100644 --- a/drivers/rtc/rtc-ds1672.c +++ b/drivers/rtc/rtc-ds1672.c @@ -153,11 +153,6 @@ static const struct rtc_class_ops ds1672_rtc_ops = { .set_mmss = ds1672_rtc_set_mmss, }; -static int ds1672_remove(struct i2c_client *client) -{ - return 0; -} - static int ds1672_probe(struct i2c_client *client, const struct i2c_device_id *id) { @@ -210,7 +205,6 @@ static struct i2c_driver ds1672_driver = { .name = "rtc-ds1672", }, .probe = &ds1672_probe, - .remove = &ds1672_remove, .id_table = ds1672_id, };