Received: by 10.223.185.116 with SMTP id b49csp3894592wrg; Tue, 6 Mar 2018 06:47:13 -0800 (PST) X-Google-Smtp-Source: AG47ELsEfa5IlnpZbcGSkra3aSgsXn9Mj985k/iNVIJ9AGxsZb4d0vQbLjh5cXtX5saYNeAwZQro X-Received: by 2002:a17:902:424:: with SMTP id 33-v6mr17245386ple.433.1520347633087; Tue, 06 Mar 2018 06:47:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520347633; cv=none; d=google.com; s=arc-20160816; b=oTI0RDotXhmSy8gigPpuOYI212pwOtJqc7nrMdA97ndWq1aJ8St8YN8MVvDRvtyFsT pp6Un0AnTbKP5ZOYvrpemgUMr3S4O7Uiee9MiW9D4DOQ96ZOrs8Om+IrLja7zr3GUkny 9NkKFrXwEe/ZqrEQ39rVqSz1kuVITakTn/ZST6oT39x2eBIjdMGUkzQfNRMwHVTYwTUs SPP4uTcrlxCLx91MoZQ/EApl2TYjYMaAx/LcvMrMYxmSc/TvXM3CDd3k419nSYEJ5bRb /Q6rM5CtEUQ4+1IwpoeY4+o66YYpeCIDDkAeVrXO7mLkWJSwishna5o+v4O1VbwYqcps ZlDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter :arc-authentication-results; bh=n6OJdjVGr2XR1TQ6f6n1rpoxaR4bUZf7D8eE1zHuOik=; b=APJTPyTMouGZqZZPjYLwS/91CY2d/LMLWuizvifmAzX6gIju2YwoNnSjsYTedX0DfX ZxH58UHYJXguORQXXQEG03wyulkt3C6wTWMDqU/AoUvnPRU5eTZ/Xp1grXvYIEcACAqh NBvc5rCVs8UtQimLBs21nref9IITA5c1CuRsQiBr+hMsAZb79JtzVuEeIVf9MkqETn1W 4Uy90U+9yRODWPCUBeRA/1H668w64u0cGoa/hTmbeZ+fCQ0HxDSbKr8MS3OakJK0MMkJ FRXkPHzNLwi4nDs75kje2KRh8jYRnZI/lt9/UKv/YLh/PlgwyCWaDb4S/hdUBa6uEj1g bnLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=eCBq5LQ8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 31-v6si11215628plj.683.2018.03.06.06.46.59; Tue, 06 Mar 2018 06:47:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=eCBq5LQ8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933355AbeCFOpO (ORCPT + 99 others); Tue, 6 Mar 2018 09:45:14 -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 Ze4hRgkOZiUR3gj9eVFCvCmJlVWpRfnxRaU5qcWHGKU5WJTEeVsDXKKEBNITS1KzU1MLUotg skwcnFINjEJM7zl4H/nkdLddttj9Oq7+7lz9Nf6R7hMOSC3fZ3Lg8bEbn5R557//uU90sc3E RM6bWhcTF7yZ75fNbiP3UbtIo/fwa9PlUz54pWR8CdRn9wpiTemalsibJvcwLd3A9LlM2e+n 0vVseZOPn1YT+zLrnP+Fa3ON/Y5s937VNL/ia4UPi7+YkhJLcUaioRZzUXEiAC6/O+XyAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrOLMWRmVeSWpSXmKPExsVy+t9jAd3ilfOiDFrOC1psnLGe1WL+kXNA 4so1Vov+x6+ZLc6f38BusekxkHt51xw2i8+9RxgtZpzfx2RxaOpeRoul1y8yWbTuPcJu8eRh H5sDr8eaeWsYPS5fu8jssXPWXXaPxXteMnlsWtXJ5rF5Sb1H35ZVjB6fN8kFcERx2aSk5mSW pRbp2yVwZZzZd5a1YI5ExZO2hewNjAtFuhg5OCQETCR+rXLvYuTiEBLYySgx6eVZZgjnF6PE 99UvGbsYOTnYBKwkJravArNFBEokOqe9ZgaxmQXOMkkc/M8BYgsLBEjsnP2RCcRmEVCVeNL7 jg3E5hXwlLi3qZUFxJYQkJM4eWwyK4jNCRQ/0XEOrEZIwENicfdvtgmMPAsYGVYxSqYWFOem 5xYbFRjlpZbrFSfmFpfmpesl5+duYgQG57bDWv07GB8viT/EKMDBqMTDu8FjbpQQa2JZcWXu IUYJDmYlEd4I/XlRQrwpiZVVqUX58UWlOanFhxilOViUxHn5849FCgmkJ5akZqemFqQWwWSZ 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 */ -- 1.9.1