From patchwork Thu May 23 10:35:56 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 245896 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-ob0-x23a.google.com (mail-ob0-x23a.google.com [IPv6:2607:f8b0:4003:c01::23a]) (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 E5E0E2C0089 for ; Thu, 23 May 2013 20:50:42 +1000 (EST) Received: by mail-ob0-f186.google.com with SMTP id wp18sf1000934obc.13 for ; Thu, 23 May 2013 03:50:40 -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=Wslu7zxL5Es22iEEElepSAOSj4AYVWOH4PqDhj+xgvg=; b=RCmvyhK/7NLnzTjtxxrTZGUk+mR4AINhDk0VuPMLURXTt0X/+l0P8RqPymSWHNsSQG lZykVPNetccpClMIb+qWfIAgtTeBzKKwpEdWpSU8NuGOftdISKcQvVUnJ3kYXwSXi+ps 63qXwnOORdJJPImIULNI/y1B4fLRA37PzuEmDa5T2ypHhEmPtdqLSxl+EvjK4uA4CLWp +uNpjKqRfYoWOejnhc5TmkSKrniLFi9pQ2pko1iJ/dz2vIkkF+BTsY+VUkFbxe/v81Nt vp0Hd4+BCFisSyatl6FH2hB7QipfrC0aHvHkgZdC8+yVQNwUA6JDbIzqKxwwlNYlaADw AhXA== 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=Wslu7zxL5Es22iEEElepSAOSj4AYVWOH4PqDhj+xgvg=; b=gkyGQKrOqjRjgXUd7+pFz73L9wUGRJdR7Pd91r00V/XiHwI88mZBDJCzYZBlk1zR9f QJuqTx1yp1e/DYBz8LILDVCUUysaODx8rO48k5bzZWYsaaVWQu2B4dypws5i+vOLUt3P PPw6Z7hRm3/k+DlsEkiq3WsKawen1pncNGsuFfP1h4GLX7E5Mg8+dGeItt9Bejem4Cc5 EbVI+XZsGZeqXoKiLrhfLpPSo23u5FhDHPpfgsjTLz879Fm0m+WM04L6tzoKaICDRrdX i4RxFTT8rKH5tJhfeniJnUufuFB2k7ok4DOJ7cPr4+0V0+nLZfJDBAD10R5FpMrvPw/+ BtBA== X-Received: by 10.50.147.98 with SMTP id tj2mr18160igb.10.1369306240359; Thu, 23 May 2013 03:50:40 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.50.39.20 with SMTP id l20ls27942igk.44.gmail; Thu, 23 May 2013 03:50:40 -0700 (PDT) X-Received: by 10.66.193.131 with SMTP id ho3mr1588146pac.24.1369306240062; Thu, 23 May 2013 03:50:40 -0700 (PDT) Received: from mail-pa0-f47.google.com (mail-pa0-f47.google.com [209.85.220.47]) by gmr-mx.google.com with ESMTPS id gi6si1789179pbc.2.2013.05.23.03.50.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:50:40 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.47 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.220.47; Received: by mail-pa0-f47.google.com with SMTP id kl1so953156pab.34 for ; Thu, 23 May 2013 03:50:40 -0700 (PDT) X-Received: by 10.68.194.202 with SMTP id hy10mr12169568pbc.44.1369306239982; Thu, 23 May 2013 03:50:39 -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.37 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:50:39 -0700 (PDT) From: Sachin Kamat To: rtc-linux@googlegroups.com Cc: a.zummo@towertech.it, akpm@linux-foundation.org, sachin.kamat@linaro.org, Dale Farnsworth Subject: [rtc-linux] [PATCH 15/33] drivers/rtc/rtc-max6900.c: remove empty function Date: Thu, 23 May 2013 16:05:56 +0530 Message-Id: <1369305374-20433-15-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: ALoCoQl6AHvvnro1/8GIvdL+4mSZ6y1liou8jp6W4v+I98HhIcDqjA3zU1QKOHjJ0npMzSm9N4Yh X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.220.47 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: Dale Farnsworth --- drivers/rtc/rtc-max6900.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/rtc/rtc-max6900.c b/drivers/rtc/rtc-max6900.c index 8669d6d..55969b1 100644 --- a/drivers/rtc/rtc-max6900.c +++ b/drivers/rtc/rtc-max6900.c @@ -212,11 +212,6 @@ static int max6900_rtc_set_time(struct device *dev, struct rtc_time *tm) return max6900_i2c_set_time(to_i2c_client(dev), tm); } -static int max6900_remove(struct i2c_client *client) -{ - return 0; -} - static const struct rtc_class_ops max6900_rtc_ops = { .read_time = max6900_rtc_read_time, .set_time = max6900_rtc_set_time, @@ -252,7 +247,6 @@ static struct i2c_driver max6900_driver = { .name = "rtc-max6900", }, .probe = max6900_probe, - .remove = max6900_remove, .id_table = max6900_id, };