From patchwork Tue Dec 2 06:34:32 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abhilash Kesavan X-Patchwork-Id: 5417021 Return-Path: X-Original-To: patchwork-linux-arm@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 6B25B9F1C5 for ; Tue, 2 Dec 2014 06:37:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 58294202A1 for ; Tue, 2 Dec 2014 06:37:05 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7A57A20295 for ; Tue, 2 Dec 2014 06:37:04 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Xvh34-0003VX-Nc; Tue, 02 Dec 2014 06:34:58 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Xvh30-0003Tn-Qe for linux-arm-kernel@lists.infradead.org; Tue, 02 Dec 2014 06:34:55 +0000 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NFX009IXZLIJQ50@mailout4.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 02 Dec 2014 15:34:30 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.123]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id B2.DE.17016.67D5D745; Tue, 02 Dec 2014 15:34:30 +0900 (KST) X-AuditID: cbfee68d-f79296d000004278-b1-547d5d761bd4 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 17.23.20081.67D5D745; Tue, 02 Dec 2014 15:34:30 +0900 (KST) Received: from abhilash-ubuntu.sisodomain.com ([107.108.73.92]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NFX008N0ZL22QJ0@mmp1.samsung.com>; Tue, 02 Dec 2014 15:34:30 +0900 (KST) From: Abhilash Kesavan To: rui.zhang@intel.com, edubezval@gmail.com, kgene.kim@samsung.com, linux-pm@vger.kernel.org Subject: [PATCH 1/2] drivers: thermal: Remove ARCH_HAS_BANDGAP dependency for samsung Date: Tue, 02 Dec 2014 12:04:32 +0530 Message-id: <1417502073-6322-1-git-send-email-a.kesavan@samsung.com> X-Mailer: git-send-email 1.7.9.5 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrNLMWRmVeSWpSXmKPExsWyRsSkWrcstjbEYFuDmUXD1RCLjTPWs1rM v3KN1WLNXyWL3gVX2SzePNzMaLHpMVDoc+8RRosnD/vYHDg9ds66y+6xeM9LJo/NS+o9+ras YvT4vEkugDWKyyYlNSezLLVI3y6BK2PdycvMBd0cFV92XmRvYLzL1sXIySEhYCKxpWMJM4Qt JnHh3nqgOBeHkMBSRonvn26zwBTd7D3FCJFYxCix7MJLdginj0li25T3TCBVbAJ6Egv+fQUb JSIQL7Fs5XYWkCJmgYmMEreuTWQESQgLhEv8Wb+CFcRmEVCVeHL8GlicV8BFYsaurUCDOIDW KUjMmWQD0ish0M0u0XDwFztEvYDEt8mHWCBqZCU2HYA6W1Li4IobLBMYBRcwMqxiFE0tSC4o TkovMtQrTswtLs1L10vOz93ECAzj0/+e9e5gvH3A+hCjAAejEg/vyfM1IUKsiWXFlbmHGE2B NkxklhJNzgdGS15JvKGxmZGFqYmpsZ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qs91y09bTfdRxevHUxuKlptxH1JiKc5INNRiLipOBAAjegrnqAIAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141201_223455_004301_E15AA5BA X-CRM114-Status: UNSURE ( 9.78 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -4.9 (----) Cc: l.majewski@samsung.com, kesavan.abhilash@gmail.com, amit.daniel@samsung.com, linux-arm-kernel@lists.infradead.org, b.zolnierkie@samsung.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, T_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 As samsung thermal support is enabled only for ARCH_EXYNOS, there is no need to select ARCH_HAS_BANDGAP from the arch-specific code. Removing this dependency will also allow the driver to be enabled on 64-bit SoCs. Signed-off-by: Abhilash Kesavan Reviewed-by: Bartlomiej Zolnierkiewicz Reviewed-by: Lukasz Majewski Acked-by: Lukasz Majewski --- This was based on the discussion regarding adding ARCH_HAS_BANDGAP symbol for arm64 here: http://www.spinics.net/lists/arm-kernel/msg377560.html drivers/thermal/samsung/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/samsung/Kconfig b/drivers/thermal/samsung/Kconfig index f760389..c43306e 100644 --- a/drivers/thermal/samsung/Kconfig +++ b/drivers/thermal/samsung/Kconfig @@ -1,6 +1,6 @@ config EXYNOS_THERMAL tristate "Exynos thermal management unit driver" - depends on ARCH_HAS_BANDGAP && OF + depends on OF help If you say yes here you get support for the TMU (Thermal Management Unit) driver for SAMSUNG EXYNOS series of SoCs. This driver initialises