From patchwork Tue Mar 6 14:43:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 10262147 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9BF026055D for ; Tue, 6 Mar 2018 15:42:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8B3F228AF4 for ; Tue, 6 Mar 2018 15:42:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7FA0928BDC; Tue, 6 Mar 2018 15:42:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 630BF28AF4 for ; Tue, 6 Mar 2018 15:42:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-reply-to:Message-id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=/EPsI6yNyJEwiKGcoccrd46xAZEbQPcsjaNYuY4XFI0=; b=uKTahFAe9eKFhjvoF8fcrWMtEY WicH5/xye7EaQdZmrJOfYFl/4SG1lRNvXRGLXq5ZR1Q4SkwMVdslSW4688km3eRM/WBVGB21/Rmls LNo2ybhJ784KmTbDdQtTcDL3giQI+2rJlIqbWMfke+QWWdQzUYNVIcwlfqf18GjTGutdz5C9x9Ffe S5iCqJ6zYS2F0inNPdHIbW91etWYk58yAySW/U8129cjS2yIHgXqwNSoY3r6K1BhL+UnKWyMMzoaW 5gtQWNGBLTtmKf1tCagFrG49Dy9eMGN6k+JP50c7qdi5WwjqGZATTwpm7h+luA4FXXXXmUtxjVv+c ipCE8nUw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1etEjm-0007xd-VZ; Tue, 06 Mar 2018 15:42:47 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1etEii-0007Lo-Nb for linux-arm-kernel@bombadil.infradead.org; Tue, 06 Mar 2018 15:41:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-reply-to:Message-id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=n6OJdjVGr2XR1TQ6f6n1rpoxaR4bUZf7D8eE1zHuOik=; b=ACtl3M4VC92+kVYxq61Y7mGTT fg00FdgxZQjLWKdIbnDlcAsSxzg9AK8ZDoj/fds1mvKYJHu+XV+KGvhdIK4C84LE6JR6XNls1h3Vt xaNcRjzJMlP/qfehTsB300T3ajw+bgfE+4eQVEIGPxWvkckpznsRsrBSlZW8yIkHDhlGHCDPTrm0w T3oLIt4FDxPnxYcxM8Pvmr4xyslFgEbDRfD0uiPVwmFu+OdqZlgQI8b0OjRzhFDfh+uK9GZxKYjPg 4gz9/7Py2EdvLQRJ+UxPLNQQY4ux89jvBaplh+m+E4YlfnBsYAT2rAXTc5g4sPBeoeULzQL7c7IQa pZYMeor+w==; Received: from mailout3.samsung.com ([203.254.224.33]) by merlin.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1etDqB-00027F-4F for linux-arm-kernel@lists.infradead.org; Tue, 06 Mar 2018 14:45:22 +0000 Received: from epcas2p4.samsung.com (unknown [182.195.41.56]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20180306144509epoutp039b1ee5233cc5da6a63b6a7fb9622f18b~ZXAEZzQjj2083020830epoutp03P; Tue, 6 Mar 2018 14:45:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20180306144509epoutp039b1ee5233cc5da6a63b6a7fb9622f18b~ZXAEZzQjj2083020830epoutp03P DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1520347509; bh=n6OJdjVGr2XR1TQ6f6n1rpoxaR4bUZf7D8eE1zHuOik=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=eCBq5LQ8Ryhp8PhU+sBsQIz4GLhbGf/iM6rydamrF/XpcOpemmHBJR8FZwiluqdIs OODKw+dnNBmiS3rGhBAzU1L5XCcwo17Yc008O5Sk+WEEyow9KKg8KhwarOW+4rX0Cp E+9kNfMhpBhcXoxdLm1vGCMTwE5ixYx2vbGZk64s= Received: from epsmges2p3.samsung.com (unknown [182.195.42.71]) by epcas2p4.samsung.com (KnoxPortal) with ESMTP id 20180306144508epcas2p402095bafe7173458bf69bbd68b6b4563~ZXADeFxEN2684026840epcas2p4J; Tue, 6 Mar 2018 14:45:08 +0000 (GMT) Received: from epcas2p4.samsung.com ( [182.195.41.56]) by epsmges2p3.samsung.com (Symantec Messaging Gateway) with SMTP id 3E.5C.04108.379AE9A5; Tue, 6 Mar 2018 23:45:07 +0900 (KST) Received: from epsmgms2p2new.samsung.com (unknown [182.195.42.143]) by epcas2p2.samsung.com (KnoxPortal) with ESMTP id 20180306144507epcas2p2bcff1b5d29b84d248fcb153e4af63c16~ZXAC231_-2444124441epcas2p2J; Tue, 6 Mar 2018 14:45:07 +0000 (GMT) X-AuditID: b6c32a47-187ff7000000100c-7d-5a9ea973481d Received: from epmmp1.local.host ( [203.254.227.16]) by epsmgms2p2new.samsung.com (Symantec Messaging Gateway) with SMTP id 20.D3.03890.379AE9A5; Tue, 6 Mar 2018 23:45:07 +0900 (KST) Received: from AMDC3058.DIGITAL.local ([106.120.53.102]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P56000X0BLSFM10@mmp1.samsung.com>; Tue, 06 Mar 2018 23:45:07 +0900 (KST) From: Bartlomiej Zolnierkiewicz To: Zhang Rui , Eduardo Valentin , Krzysztof Kozlowski Subject: [PATCH 09/12] thermal: exynos: remove separate exynos_tmu.h header file Date: Tue, 06 Mar 2018 15:43:52 +0100 Message-id: <1520347435-22970-10-git-send-email-b.zolnierkie@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1520347435-22970-1-git-send-email-b.zolnierkie@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrPIsWRmVeSWpSXmKPExsWy7bCmhW7xynlRBpc7LS02zljPajH/yDkg ceUaq0X/49fMFufPb2C32PQYyL28aw6bxefeI4wWM87vY7I4NHUvo8XS6xeZLFr3HmG3ePKw j82B12PNvDWMHpevXWT22DnrLrvH4j0vmTw2repk89i8pN6jb8sqRo/Pm+QCOKK4bFJSczLL Uov07RK4Ms7sO8taMEei4knbQvYGxoUiXYwcHBICJhIb77h1MXJxCAnsYJT4vfMeO4TznVGi o+05K0zRr1XuXYycQPHdjBIPOtQgan4xSjxZO40RJMEmYCUxsX0VmC0iUCIxbVUvI0gRs8BZ Jokd29+xgCSEBYIkrq6+yg5iswioSjzpfccGYvMKe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wpiZVVqUX58UWlOanFhxilOViUxHn5849FCgmkJ5akZqemFqQWwWSZ ODilGhj9p28xcfToZreo8r37oTcyW+/+2WcfpW6E1V649u1BTIMME8ddY9mm4wrWH+LrvxXx zc1flCK5RDF044OqOxfPyR47sD7tpvGZt2YHF5oucpfMWFWs7/8nZn9/wMF1ndf2/ZebrMWT KlXw73MJb3ic/NPvXadORolIHHz0Vc765rRla+K9/5oosRRnJBpqMRcVJwIAqeSxoEoCAAA= X-CMS-MailID: 20180306144507epcas2p2bcff1b5d29b84d248fcb153e4af63c16 X-Msg-Generator: CA CMS-TYPE: 102P X-CMS-RootMailID: 20180306144507epcas2p2bcff1b5d29b84d248fcb153e4af63c16 X-RootMTR: 20180306144507epcas2p2bcff1b5d29b84d248fcb153e4af63c16 References: <1520347435-22970-1-git-send-email-b.zolnierkie@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180306_094519_650182_C85564B2 X-CRM114-Status: GOOD ( 21.09 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-pm@vger.kernel.org, b.zolnierkie@samsung.com, Russell King , Rob Herring , linux-kernel@vger.kernel.org, Kukjin Kim , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP exynos_tmu.h is used only by exynos_tmu.c so there is no need for a separate include file. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/thermal/samsung/exynos_tmu.c | 18 +++++++++++++++- drivers/thermal/samsung/exynos_tmu.h | 41 ------------------------------------ 2 files changed, 17 insertions(+), 42 deletions(-) delete mode 100644 drivers/thermal/samsung/exynos_tmu.h diff --git a/drivers/thermal/samsung/exynos_tmu.c b/drivers/thermal/samsung/exynos_tmu.c index ab5062b..d8b9c3e 100644 --- a/drivers/thermal/samsung/exynos_tmu.c +++ b/drivers/thermal/samsung/exynos_tmu.c @@ -34,8 +34,10 @@ #include #include #include +#include + +#include -#include "exynos_tmu.h" #include "../thermal_core.h" /* Exynos generic registers */ @@ -173,6 +175,20 @@ #define EXYNOS_NOISE_CANCEL_MODE 4 #define MCELSIUS 1000 + +enum soc_type { + SOC_ARCH_EXYNOS3250 = 1, + SOC_ARCH_EXYNOS4210, + SOC_ARCH_EXYNOS4412, + SOC_ARCH_EXYNOS5250, + SOC_ARCH_EXYNOS5260, + SOC_ARCH_EXYNOS5420, + SOC_ARCH_EXYNOS5420_TRIMINFO, + SOC_ARCH_EXYNOS5433, + SOC_ARCH_EXYNOS5440, + SOC_ARCH_EXYNOS7, +}; + /** * struct exynos_tmu_data : A structure to hold the private data of the TMU driver diff --git a/drivers/thermal/samsung/exynos_tmu.h b/drivers/thermal/samsung/exynos_tmu.h deleted file mode 100644 index 8f56f86..0000000 --- a/drivers/thermal/samsung/exynos_tmu.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * exynos_tmu.h - Samsung EXYNOS TMU (Thermal Management Unit) - * - * Copyright (C) 2011 Samsung Electronics - * Donggeun Kim - * Amit Daniel Kachhap - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#ifndef _EXYNOS_TMU_H -#define _EXYNOS_TMU_H -#include -#include - -enum soc_type { - SOC_ARCH_EXYNOS3250 = 1, - SOC_ARCH_EXYNOS4210, - SOC_ARCH_EXYNOS4412, - SOC_ARCH_EXYNOS5250, - SOC_ARCH_EXYNOS5260, - SOC_ARCH_EXYNOS5420, - SOC_ARCH_EXYNOS5420_TRIMINFO, - SOC_ARCH_EXYNOS5433, - SOC_ARCH_EXYNOS5440, - SOC_ARCH_EXYNOS7, -}; - -#endif /* _EXYNOS_TMU_H */