From patchwork Thu May 23 10:35:52 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 245892 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 C74D92C0090 for ; Thu, 23 May 2013 20:50:30 +1000 (EST) Received: by mail-oa0-f64.google.com with SMTP id i10sf964948oag.29 for ; Thu, 23 May 2013 03:50:28 -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=3lOhvHHLG5hvxVeUDsXOea6t+X9FWGDrsrrS5+6YdMU=; b=qajBwcovYqkriZIrMI3ek++4DKsf0WNH8SEBE8mKj7VH+0hFgRljxi11Fxgc4aoGpd ZvRXmpoeaLs+WA9CxLyexnIfsRCAKXRJV8TcYS4Em6MJ6EbNWJLe4kMKBB1x3H70NEog R09lTmB+T95oPv5cYhtu2bW/3Ck2f4xTYCSiKU2DaL+Eg71cLrQsnFVGJEE3LtuIHqm1 loHNCXailQKb0BHW0/MZlSS/Z9kz81JX1DHClKFfSED1DW8OHDHrd2y2XhIj1XH2A/9D I174InP4Yt2cUMcmgSIMuHvMiIQXpx80h2XwexlNVn8PGc26a+kpB8QwESCnxrSCE5K/ sihA== 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=3lOhvHHLG5hvxVeUDsXOea6t+X9FWGDrsrrS5+6YdMU=; b=VfYCXen57yvGdkNaDqgaiVG6mv/Zlx46NMD2UA8vJULW2twPLUyvYjW4bKnQ0P3y6F zbuaVTU90yWBLKvPxPhrO7uqPf+I91UdFaOcLSoKhECLkF2P/N+jUI7AwgB/Qm6GfbvI eYQ1xvZwA08rQpC/AaVX3q21iuHRqeHYS+neaP2xznsVqDkh1ln6M2dANt9gBxXURlX7 vBdFVeaBQataq5yhyIe44nmgA7hkWBhBf9d3F/tIR+OsUZwa/eJR5C8Enc/o61D9XGAJ 9jHv/hcDpZnap6ooLBxoKz7bSQ0x1Kp9bLRwXGO5inTQC8MxqPCFJOp+6/yucRvq1zEu XW0w== X-Received: by 10.50.114.36 with SMTP id jd4mr328244igb.14.1369306228613; Thu, 23 May 2013 03:50:28 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.50.112.36 with SMTP id in4ls1567907igb.17.gmail; Thu, 23 May 2013 03:50:28 -0700 (PDT) X-Received: by 10.66.221.42 with SMTP id qb10mr1423026pac.37.1369306228404; Thu, 23 May 2013 03:50:28 -0700 (PDT) Received: from mail-pa0-f43.google.com (mail-pa0-f43.google.com [209.85.220.43]) by gmr-mx.google.com with ESMTPS id kg6si1792031pbb.1.2013.05.23.03.50.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:50:28 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.43 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.220.43; Received: by mail-pa0-f43.google.com with SMTP id hz11so80243pad.16 for ; Thu, 23 May 2013 03:50:28 -0700 (PDT) X-Received: by 10.68.172.36 with SMTP id az4mr12027210pbc.211.1369306228317; Thu, 23 May 2013 03:50:28 -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.25 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:50:27 -0700 (PDT) From: Sachin Kamat To: rtc-linux@googlegroups.com Cc: a.zummo@towertech.it, akpm@linux-foundation.org, sachin.kamat@linaro.org, Roman Fietze Subject: [rtc-linux] [PATCH 11/33] drivers/rtc/rtc-isl12022.c: remove empty function Date: Thu, 23 May 2013 16:05:52 +0530 Message-Id: <1369305374-20433-11-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: ALoCoQkAh3DYEG4uSUa3ZOoTN2aTsxWdU80eEGKX3L6xyhQwWzLj6b01Ekmm2pusCvSDPMyED+UJ X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.220.43 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 Cc: Roman Fietze --- drivers/rtc/rtc-isl12022.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/rtc/rtc-isl12022.c b/drivers/rtc/rtc-isl12022.c index a1bbbb8..6f2de99 100644 --- a/drivers/rtc/rtc-isl12022.c +++ b/drivers/rtc/rtc-isl12022.c @@ -273,11 +273,6 @@ static int isl12022_probe(struct i2c_client *client, return 0; } -static int isl12022_remove(struct i2c_client *client) -{ - return 0; -} - static const struct i2c_device_id isl12022_id[] = { { "isl12022", 0 }, { } @@ -289,7 +284,6 @@ static struct i2c_driver isl12022_driver = { .name = "rtc-isl12022", }, .probe = isl12022_probe, - .remove = isl12022_remove, .id_table = isl12022_id, };