From patchwork Fri Jan 25 14:14:31 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 2045521 Return-Path: X-Original-To: patchwork-spi-devel-general@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from lists.sourceforge.net (lists.sourceforge.net [216.34.181.88]) by patchwork2.kernel.org (Postfix) with ESMTP id 4F95AE0175 for ; Fri, 25 Jan 2013 14:15:16 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=sfs-ml-3.v29.ch3.sourceforge.com) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1Tyk3m-0005wY-H2; Fri, 25 Jan 2013 14:15:14 +0000 Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1Tyk3j-0005wQ-Fa for spi-devel-general@lists.sourceforge.net; Fri, 25 Jan 2013 14:15:11 +0000 X-ACL-Warn: Received: from moutng.kundenserver.de ([212.227.126.187]) by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1Tyk3g-0004JC-7M for spi-devel-general@lists.sourceforge.net; Fri, 25 Jan 2013 14:15:11 +0000 Received: from wuerfel.lan (HSI-KBW-46-223-90-92.hsi.kabel-badenwuerttemberg.de [46.223.90.92]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0MMJjd-1U6i9F43HJ-007vVn; Fri, 25 Jan 2013 15:14:57 +0100 From: Arnd Bergmann To: linux-arm-kernel@list.infradead.org Subject: [PATCH 14/19] spi/atmel: remove incorrect __exit_p() Date: Fri, 25 Jan 2013 14:14:31 +0000 Message-Id: <1359123276-15833-15-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 1.8.0 In-Reply-To: <1359123276-15833-1-git-send-email-arnd@arndb.de> References: <1359123276-15833-1-git-send-email-arnd@arndb.de> X-Provags-ID: V02:K0:+fhEfaipIjDYlCDXM0tVJm8Y8eMPXeQBW/S9EIupRD7 WHUW+t2viLr/CLtkMEzHSHnyb+oj3lSklJDhod2LLjjHD9vrNZ nDVDnTzNUAMwlWg422UQJSZy03k/nuG9SQQucc0hoXf/tpIcY+ 1EhQ2Oft8DGacdwaG813R1sQRsDQpAKR09ap753NEODR4NL898 sSPlW37BeKaG289uHIar3L6Xdhu0QnTmqylRdLhDcc3QEZex06 m4L1y1/LXzZTFgssPs7je130J8wEuJ+4hans/yxrDdl+1l/NcL DjUAwMvTYzWa/17BA2mlgevxDlg+mudSKuv9nS+9oX8O2oLRAH nPXATeTTd1lQLC1jGva3otU+bRv2DjCGm0m87I28b X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [212.227.126.187 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record X-Headers-End: 1Tyk3g-0004JC-7M Cc: spi-devel-general@lists.sourceforge.net, Nicolas Ferre , linux-kernel@vger.kernel.org, Arnd Bergmann X-BeenThere: spi-devel-general@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: Linux SPI core/device drivers discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: spi-devel-general-bounces@lists.sourceforge.net Since we no longer allow building without hotplug, the atmel_spi_remove function is always present and we should not use __exit_p() to refer to it. Without this patch, building at91_dt_defconfig results in: drivers/spi/spi-atmel.c:1006:12: warning: 'atmel_spi_remove' defined but not used [-Wunused-function] Signed-off-by: Arnd Bergmann Cc: Nicolas Ferre Cc: Grant Likely Cc: spi-devel-general@lists.sourceforge.net --- drivers/spi/spi-atmel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-atmel.c b/drivers/spi/spi-atmel.c index ab34497..656d137 100644 --- a/drivers/spi/spi-atmel.c +++ b/drivers/spi/spi-atmel.c @@ -1088,7 +1088,7 @@ static struct platform_driver atmel_spi_driver = { .suspend = atmel_spi_suspend, .resume = atmel_spi_resume, .probe = atmel_spi_probe, - .remove = __exit_p(atmel_spi_remove), + .remove = atmel_spi_remove, }; module_platform_driver(atmel_spi_driver);