From patchwork Tue Sep 2 03:25:23 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 4822731 Return-Path: X-Original-To: patchwork-linux-spi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 08590C0338 for ; Tue, 2 Sep 2014 03:25:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4B326201B9 for ; Tue, 2 Sep 2014 03:25:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 741FB2018B for ; Tue, 2 Sep 2014 03:25:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751897AbaIBDZg (ORCPT ); Mon, 1 Sep 2014 23:25:36 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:59930 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751832AbaIBDZf (ORCPT ); Mon, 1 Sep 2014 23:25:35 -0400 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NB900AIF86BQX70@mailout3.samsung.com> for linux-spi@vger.kernel.org; Tue, 02 Sep 2014 12:25:23 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.49]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id EC.DC.04513.3A835045; Tue, 02 Sep 2014 12:25:23 +0900 (KST) X-AuditID: cbfee691-f79546d0000011a1-94-540538a3efbc Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 37.17.04943.3A835045; Tue, 02 Sep 2014 12:25:23 +0900 (KST) Received: from DOJG1HAN03 ([12.36.165.116]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NB900E9B86BYZB0@mmp2.samsung.com>; Tue, 02 Sep 2014 12:25:23 +0900 (KST) From: Jingoo Han To: 'Mark Brown' Cc: linux-spi@vger.kernel.org, 'Thomas Chou' , 'Axel Lin' , 'Jingoo Han' References: <002a01cfc65d$2dc86640$895932c0$%han@samsung.com> In-reply-to: <002a01cfc65d$2dc86640$895932c0$%han@samsung.com> Subject: [PATCH 3/4] spi: oc-tiny: remove unnecessary #ifdef CONFIG_OF Date: Tue, 02 Sep 2014 12:25:23 +0900 Message-id: <002c01cfc65d$87e0d270$97a27750$%han@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac/GXS2wJc8EBz8zSBqRmOHmAmSxZQAACnEA Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrJIsWRmVeSWpSXmKPExsVy+t8zQ93FFqwhBtPei1gcmfOV2WLqwyds FpcXXmK1aPx4k91iec8JNgdWj7afZR6bVnWyefRtWcXo8XmTnMe6I4eZA1ijuGxSUnMyy1KL 9O0SuDJ2TTnMWrCUreL7gcgGxjmsXYycHBICJhI3Lqxgg7DFJC7cWw9kc3EICSxjlNgx7ylc 0e8HX5khEtMZJa49f8wI4fxmlFi0Zz1YO5uAmsSXL4fZuxg5OEQEVCX+v3IHqWEW6GaUaF+x ixkkLiRgK3HwFRdIOaeAncTt9oVMIGFhATeJ/f0xIGEWoM7Ta7aygNi8QNUPJjWzQtiCEj8m 3wOLMwtoSazfeZwJwpaX2LzmLdh0CQF1iUd/dUHCIgJGEr8+nGKFKBGR2PfiHdjFEgLX2CW2 dn1lgdglIPFt8iEWiF5ZiU0HmCHelZQ4uOIGywRGiVlINs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zCyMTc3Mlcd4DrdaBQgLpiSWp2ampBalFMH1MHJxSDYzK vs3h00I6bORYYx3TuSp39i23nnhGT/NSQ8hj37JGM94M9Qe6t4P3pq41Kir//qeke/9nveec y093pp5jSRPbksR2VoZRz/lJlMnGQ1NN/+2JNPgvaBVzTV7weYhp/Ke77dJKr7mO/l3dfXZv 2sYfka6HzB2Nvutb7LSe/VqkXPJKx5fLAkosxRmJhlrMRcWJADlT3AkWAwAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Spam-Status: No, score=-8.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Remove unnecessary #ifdef CONFIG_OF, because this is already handled by the of_match_ptr macro. Signed-off-by: Jingoo Han --- drivers/spi/spi-oc-tiny.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/spi/spi-oc-tiny.c b/drivers/spi/spi-oc-tiny.c index 8998d11c7238..baac441fa6f6 100644 --- a/drivers/spi/spi-oc-tiny.c +++ b/drivers/spi/spi-oc-tiny.c @@ -338,13 +338,11 @@ static int tiny_spi_remove(struct platform_device *pdev) return 0; } -#ifdef CONFIG_OF static const struct of_device_id tiny_spi_match[] = { { .compatible = "opencores,tiny-spi-rtlsvn2", }, {}, }; MODULE_DEVICE_TABLE(of, tiny_spi_match); -#endif /* CONFIG_OF */ static struct platform_driver tiny_spi_driver = { .probe = tiny_spi_probe,