From patchwork Fri Aug 22 06:23:56 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 4761341 Return-Path: X-Original-To: patchwork-linux-fbdev@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 831869F344 for ; Fri, 22 Aug 2014 06:24:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B642B2017A for ; Fri, 22 Aug 2014 06:24:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3A89520173 for ; Fri, 22 Aug 2014 06:24:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752513AbaHVGX7 (ORCPT ); Fri, 22 Aug 2014 02:23:59 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:45769 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751498AbaHVGX6 (ORCPT ); Fri, 22 Aug 2014 02:23:58 -0400 Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NAP00HR233WBG20@mailout2.samsung.com>; Fri, 22 Aug 2014 15:23:56 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.49]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id 30.EF.14752.CF1E6F35; Fri, 22 Aug 2014 15:23:56 +0900 (KST) X-AuditID: cbfee68f-b7fa26d0000039a0-a9-53f6e1fcfa8f Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 67.EE.05196.CF1E6F35; Fri, 22 Aug 2014 15:23:56 +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 <0NAP00FCL33WGS40@mmp1.samsung.com>; Fri, 22 Aug 2014 15:23:56 +0900 (KST) From: Jingoo Han To: linux-kernel@vger.kernel.org Cc: linux-fbdev@vger.kernel.org, 'Bryan Wu' , 'Lee Jones' , 'Jingoo Han' Subject: [PATCH] backlight: platform_lcd: remove unnecessary #ifdef CONFIG_OF Date: Fri, 22 Aug 2014 15:23:56 +0900 Message-id: <007701cfbdd1$a70486e0$f50d94a0$%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+90aayJDYJFIIwRAaC+rX6YUehnw== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrDIsWRmVeSWpSXmKPExsVy+t8zQ90/D78FG+z8q25xdOdEJovLCy+x Wtz/epTR4kTfB1aLy7vmsDmweuycdZfd4861PWwefVtWMXp83iQXwBLFZZOSmpNZllqkb5fA lfHm0gm2gunsFYeW7GdpYOxl62Lk5JAQMJF4+foalC0mceHeeiCbi0NIYBmjxN62WawwRQu2 vGKESCxilDizdhkLhPObUWLulstMIFVsAmoSX74cZgexRQQUJDb3PmMFKWIW6GKU+HvnBjNI QljAV2L9nvNgDSwCqhIr794Gi/MK2Eo8nngPyhaU+DH5HguIzSygJbF+53EmCFteYvOat0A1 HEAnqUs8+qsLsUtP4sXmn2wQJSIS+168A7tUQmAfu8TWufegdglIfJt8iAWiV1Zi0wFmiM8k JQ6uuMEygVFsFpLNs5BsnoVk8ywkKxYwsqxiFE0tSC4oTkovMtYrTswtLs1L10vOz93ECIm5 /h2Mdw9YH2JMBlo/kVlKNDkfGLN5JfGGxmZGFqYmpsZG5pZmpAkrifPef5gUJCSQnliS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+riV4n5vkFN6pPShDO3Nh9/u2fR 9i0f9ymxFGckGmoxFxUnAgArAfx4/gIAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-7.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/video/backlight/platform_lcd.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/video/backlight/platform_lcd.c b/drivers/video/backlight/platform_lcd.c index c3d2e209fc8f..2bca5ca760ee 100644 --- a/drivers/video/backlight/platform_lcd.c +++ b/drivers/video/backlight/platform_lcd.c @@ -137,13 +137,11 @@ static int platform_lcd_resume(struct device *dev) static SIMPLE_DEV_PM_OPS(platform_lcd_pm_ops, platform_lcd_suspend, platform_lcd_resume); -#ifdef CONFIG_OF static const struct of_device_id platform_lcd_of_match[] = { { .compatible = "platform-lcd" }, {}, }; MODULE_DEVICE_TABLE(of, platform_lcd_of_match); -#endif static struct platform_driver platform_lcd_driver = { .driver = {