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: 10262001 X-Patchwork-Delegate: eduardo.valentin@ti.com 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 69D5B6016D for ; Tue, 6 Mar 2018 14:46:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5B9B529018 for ; Tue, 6 Mar 2018 14:46:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4F92D2901A; Tue, 6 Mar 2018 14:46:45 +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=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E3C4F29018 for ; Tue, 6 Mar 2018 14:46:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933324AbeCFOpN (ORCPT ); Tue, 6 Mar 2018 09:45:13 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:38685 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933267AbeCFOpK (ORCPT ); Tue, 6 Mar 2018 09:45:10 -0500 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 Cc: Kukjin Kim , Rob Herring , Mark Rutland , Russell King , linux-samsung-soc@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, b.zolnierkie@samsung.com 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+yg5iswioSjzpfccGYvMKeErc29QKViMhICdx8thkVhCbEyh+ouMc G8ggCYEzbBL/Zq5hhihykVh1oA2qQVji1fEt7BC2tMSzVRsZIRqaGSW+7dgD1TCBUWLPeiEI 21ri8PGLYBuYBfgkOg7/ZYd4kxfoZagSD4nzX44yQdiOEk1n5kODZQ6jxL5v75gnMEotYGRY xSiWWlCcm55abFRgrFecmFtcmpeul5yfu4kRHO1a7jsYt53zOcQowMGoxMO7wWNulBBrYllx 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AqeSxoEoCAAA= 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> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.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 */