From patchwork Tue Sep 2 03:24:00 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 4822721 Return-Path: X-Original-To: patchwork-linux-spi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id B85769F2ED for ; Tue, 2 Sep 2014 03:24:05 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D7032201B4 for ; Tue, 2 Sep 2014 03:24:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 091D42018B for ; Tue, 2 Sep 2014 03:24:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752045AbaIBDYD (ORCPT ); Mon, 1 Sep 2014 23:24:03 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:59652 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751832AbaIBDYC (ORCPT ); Mon, 1 Sep 2014 23:24:02 -0400 Received: from epcpsbgr4.samsung.com (u144.gpu120.samsung.co.kr [203.254.230.144]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NB900AQC840BV70@mailout3.samsung.com> for linux-spi@vger.kernel.org; Tue, 02 Sep 2014 12:24:00 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.51]) by epcpsbgr4.samsung.com (EPCPMTA) with SMTP id 4D.F6.04442.05835045; Tue, 02 Sep 2014 12:24:00 +0900 (KST) X-AuditID: cbfee690-f79ce6d00000115a-ba-54053850de47 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 01.D6.04943.05835045; Tue, 02 Sep 2014 12:24:00 +0900 (KST) Received: from DOJG1HAN03 ([12.36.165.116]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NB900GGZ840M2C0@mmp1.samsung.com>; Tue, 02 Sep 2014 12:24:00 +0900 (KST) From: Jingoo Han To: 'Mark Brown' Cc: linux-spi@vger.kernel.org, 'Nicolas Ferre' , 'Jingoo Han' References: <002a01cfc65d$2dc86640$895932c0$%han@samsung.com> In-reply-to: <002a01cfc65d$2dc86640$895932c0$%han@samsung.com> Subject: [PATCH 2/4] spi: atmel: remove unnecessary #if defined(CONFIG_OF) Date: Tue, 02 Sep 2014 12:24:00 +0900 Message-id: <002b01cfc65d$569ef570$03dce050$%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/GXS2wJc8EBz8zSBqRmOHmAmSxZQAAAlgg Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrEIsWRmVeSWpSXmKPExsVy+t8zY90AC9YQgw0PtC2mPnzCZvHykKbF 5YWXWC0aP95kt/h2uZndgdVjwa+tLB6bVnWyefRtWcXo8XmTXABLFJdNSmpOZllqkb5dAldG 4zP2gnNsFXuftLA0MB5g7WLk4JAQMJFYsyO0i5ETyBSTuHBvPVsXIxeHkMAyRontZw8zQyRM JNq2t7BCJBYxSiw/+pkJwvnNKNH19hE7SBWbgJrEly+H2UGmigioSvx/5Q4SZhbIk1jT/wxs mZCArcTBV1wgYU4BO4nb7QuZQMLCAl4StzurQMIsQI3XejtZQGxeoOrJ5/6wQtiCEj8m32OB mKglsX7ncSYIW15i85q3zBCvqEs8+qsLEhYRMJK4Mvk3G0SJiMS+F+8YQQ6WEDjHLrHn6Bkm iF0CEt8mH2KB6JWV2HQA6ltJiYMrbrBMYJSYhWTzLCSbZyHZPAvJigWMLKsYRVM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xl5nvnLa1 lPyi+ip9/WdzY2PGEleOrbIaf2WO7d69aqV/4on3fsVPvPc9T736RCbgurVi+0/R+V9e1Met XDXp8PIZ8s9feL3+s2c/53q2CwG5RS/t3SqFj+wWTN546m/nKc+rB71f5UZOOTs3JFJJpkIi df2+lIqZO79XVZ+95Mp5bGmEEktxRqKhFnNRcSIA/9jGnRADAAA= 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 #if defined(CONFIG_OF), because this is already handled by the of_match_ptr macro. Signed-off-by: Jingoo Han Acked-by: Nicolas Ferre --- drivers/spi/spi-atmel.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/spi/spi-atmel.c b/drivers/spi/spi-atmel.c index 113c83f44b5c..9f5066fa1473 100644 --- a/drivers/spi/spi-atmel.c +++ b/drivers/spi/spi-atmel.c @@ -1481,14 +1481,12 @@ static SIMPLE_DEV_PM_OPS(atmel_spi_pm_ops, atmel_spi_suspend, atmel_spi_resume); #define ATMEL_SPI_PM_OPS NULL #endif -#if defined(CONFIG_OF) static const struct of_device_id atmel_spi_dt_ids[] = { { .compatible = "atmel,at91rm9200-spi" }, { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, atmel_spi_dt_ids); -#endif static struct platform_driver atmel_spi_driver = { .driver = {