Message ID | 1369305374-20433-27-git-send-email-sachin.kamat@linaro.org |
---|---|
State | Accepted |
Headers | show
Return-Path: <rtc-linux+bncBDM5LUP2XEPRBI7J66GAKGQEIKOVPIA@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-ob0-x23d.google.com (mail-ob0-x23d.google.com [IPv6:2607:f8b0:4003:c01::23d]) (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 4CD3C2C0089 for <incoming@patchwork.ozlabs.org>; Thu, 23 May 2013 20:51:18 +1000 (EST) Received: by mail-ob0-f189.google.com with SMTP id wn6sf958729obc.26 for <incoming@patchwork.ozlabs.org>; Thu, 23 May 2013 03:51:15 -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=wsz5pUdAMoazYge2hSDtO4CwuMAABRLj1377qDh6kxs=; b=m9iU0V0rtZEx+Wrbi5G+un4Wy0Trp3tkw0y83unVHr8bGTXI+D8YR18ekdJ7l6VY6C W5bP8+ljkMEY8umgKsx1GV8DI5IlH5WuIU0EvWfy5sjOUAQrrcWQ8ofpfLx7QxA8H3Ww bPhecWXK9EyJhRqFStn0Q+nWFhmX+p/DQOqKOMxT2sx+ouRRpNIm2u4ynvjFGoVq9l5V 8K8QwesGKz60og8hSuG7KK99qT/AHdP47+kQKzsg78VFM+7lHEVbZQ6RfgWIaCF4yLFx pdwOQz/so+gLPLQ8P+7IAwDdDQtIf4jfY98CpVocLb1lZN7KrpPvHr7CGe0wM46VzJDn SPIQ== 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=wsz5pUdAMoazYge2hSDtO4CwuMAABRLj1377qDh6kxs=; b=kBnEn8VFZZX7AeKi8pIoYwHg3OiY+aZZk5JYDRrtco4OnljmJQd6b9DzFni42mWXP2 2u8ilBOIVFF+CnuXI+fakXDi9XziwsYIAi5+WT9FCOzvIn5sopWxwds40dhc+eADryTw occK1r/iZNAF/4YRT0xReYGr6PiIUDUjPDohlT5VZKeB1F11D/Rk2t4j8S0mum691jp5 EdJ/q8/w+I35QvoIw/TLcADBje6K1auBTP/rQWMMStvdO6q8QuQuw+uXjo1GcspQvHjB g1uiczOoLcXeqXCXggGAKgzsfaf+wfJ8QWRXny7U+eE8CERQHnob7D3c+Y+g4ZiExmDb L+tg== X-Received: by 10.50.73.170 with SMTP id m10mr2247372igv.1.1369306275782; Thu, 23 May 2013 03:51:15 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.50.39.81 with SMTP id n17ls36620igk.21.gmail; Thu, 23 May 2013 03:51:15 -0700 (PDT) X-Received: by 10.66.43.108 with SMTP id v12mr1545833pal.47.1369306275513; Thu, 23 May 2013 03:51:15 -0700 (PDT) Received: from mail-pa0-f42.google.com (mail-pa0-f42.google.com [209.85.220.42]) by gmr-mx.google.com with ESMTPS id kg6si1792451pbb.1.2013.05.23.03.51.15 for <rtc-linux@googlegroups.com> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:51:15 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.42 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.220.42; Received: by mail-pa0-f42.google.com with SMTP id bj3so2818554pad.29 for <rtc-linux@googlegroups.com>; Thu, 23 May 2013 03:51:15 -0700 (PDT) X-Received: by 10.68.255.130 with SMTP id aq2mr11910353pbd.164.1369306275440; Thu, 23 May 2013 03:51:15 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id xu10sm12361273pab.3.2013.05.23.03.51.12 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 03:51:14 -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, Torben Hohn <torbenh@linutronix.de> Subject: [rtc-linux] [PATCH 27/33] drivers/rtc/rtc-rx4581.c: remove empty function Date: Thu, 23 May 2013 16:06:08 +0530 Message-Id: <1369305374-20433-27-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: ALoCoQlJWVJN6/197VMb4PjnDqWOfgp6TC1WlC1K2PZmU6yVhcuOnJpvh+shp7xRLu61dS4o56ob X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.220.42 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-rx4581.c b/drivers/rtc/rtc-rx4581.c index 84eb08d..6889222 100644 --- a/drivers/rtc/rtc-rx4581.c +++ b/drivers/rtc/rtc-rx4581.c @@ -282,11 +282,6 @@ static int rx4581_probe(struct spi_device *spi) return 0; } -static int rx4581_remove(struct spi_device *spi) -{ - return 0; -} - static const struct spi_device_id rx4581_id[] = { { "rx4581", 0 }, { } @@ -299,7 +294,6 @@ static struct spi_driver rx4581_driver = { .owner = THIS_MODULE, }, .probe = rx4581_probe, - .remove = rx4581_remove, .id_table = rx4581_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: Torben Hohn <torbenh@linutronix.de> --- drivers/rtc/rtc-rx4581.c | 6 ------ 1 file changed, 6 deletions(-)