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: 5417001 X-Patchwork-Delegate: eduardo.valentin@ti.com Return-Path: X-Original-To: patchwork-linux-pm@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 8C063BEEA8 for ; Tue, 2 Dec 2014 06:34:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BD67D202AE for ; Tue, 2 Dec 2014 06:34:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8CC66202A1 for ; Tue, 2 Dec 2014 06:34:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754231AbaLBGed (ORCPT ); Tue, 2 Dec 2014 01:34:33 -0500 Received: from mailout4.samsung.com ([203.254.224.34]:55660 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752642AbaLBGec (ORCPT ); Tue, 2 Dec 2014 01:34:32 -0500 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-pm@vger.kernel.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 Cc: linux-arm-kernel@lists.infradead.org, b.zolnierkie@samsung.com, l.majewski@samsung.com, amit.daniel@samsung.com, kesavan.abhilash@gmail.com 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 NkxklhJNzgdGS15JvKGxmZGFqYmpsZG5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91y09bTfdRxevHUxuKlptxH1JiKc5INNRiLipOBAAjegrnqAIAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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