From patchwork Thu Jan 21 11:40:49 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: George Shore X-Patchwork-Id: 74362 Received: from lists.sourceforge.net (lists.sourceforge.net [216.34.181.88]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id o0LE9YHg019589 for ; Thu, 21 Jan 2010 14:09:34 GMT 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.69) (envelope-from ) id 1NXxj3-0000lf-FF; Thu, 21 Jan 2010 14:09:33 +0000 Received: from sfi-mx-1.v28.ch3.sourceforge.com ([172.29.28.121] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1NXxj2-0000lT-UN for spi-devel-general@lists.sourceforge.net; Thu, 21 Jan 2010 14:09:32 +0000 X-ACL-Warn: Received: from smtp3.34sp.com ([80.82.115.202]) by sfi-mx-1.v28.ch3.sourceforge.com with esmtp (Exim 4.69) id 1NXxiv-0001oU-9l for spi-devel-general@lists.sourceforge.net; Thu, 21 Jan 2010 14:09:32 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp3.34sp.com (Postfix) with ESMTP id B74A51500009; Thu, 21 Jan 2010 11:41:05 +0000 (GMT) X-Virus-Scanned: amavisd-new at smtp.34sp.com Received: from smtp3.34sp.com ([127.0.0.1]) by localhost (smtp3.34sp.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id NBh4kGFd3skR; Thu, 21 Jan 2010 11:41:05 +0000 (GMT) Received: from localhost.localdomain (87-194-181-195.bethere.co.uk [87.194.181.195]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: binarymage) by smtp3.34sp.com (Postfix) with ESMTP id 6E30C1510005; Thu, 21 Jan 2010 11:41:05 +0000 (GMT) From: George Shore To: spi-devel-list , Grant Likely , David Brownell Date: Thu, 21 Jan 2010 11:40:49 +0000 Message-Id: <1264074052-2214-2-git-send-email-george@georgeshore.com> X-Mailer: git-send-email 1.6.6.264.gd0743 In-Reply-To: <1264074052-2214-1-git-send-email-george@georgeshore.com> References: <1264074052-2214-1-git-send-email-george@georgeshore.com> X-Sender-Verify: failed, postmaster X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. 0.5 VA_SENDER_VERIFY_POSTMASTER Unable to Verify postmaster@domain.tld X-Headers-End: 1NXxiv-0001oU-9l Cc: George Shore Subject: [spi-devel-general] [PATCH 2/5] spi/dw_spi: add return value to empty mrst_spi_debugfs_init() 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 diff --git a/drivers/spi/dw_spi.c b/drivers/spi/dw_spi.c index f713af8..56d53a5 100644 --- a/drivers/spi/dw_spi.c +++ b/drivers/spi/dw_spi.c @@ -152,6 +152,7 @@ static void mrst_spi_debugfs_remove(struct dw_spi *dws) #else static inline int mrst_spi_debugfs_init(struct dw_spi *dws) { + return 0; } static inline void mrst_spi_debugfs_remove(struct dw_spi *dws)