From patchwork Mon Apr 16 10:12:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 10342533 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 29BFA60542 for ; Mon, 16 Apr 2018 10:15:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1BDE320121 for ; Mon, 16 Apr 2018 10:15:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 107EA28632; Mon, 16 Apr 2018 10:15:10 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,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 A71F520121 for ; Mon, 16 Apr 2018 10:15:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754250AbeDPKO1 (ORCPT ); Mon, 16 Apr 2018 06:14:27 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:61942 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753154AbeDPKOY (ORCPT ); Mon, 16 Apr 2018 06:14:24 -0400 Received: from epcas2p3.samsung.com (unknown [182.195.41.55]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20180416101423epoutp018be26ba6b11470e25be929ff58e45578~l4wXYYCuO2855528555epoutp01s; Mon, 16 Apr 2018 10:14:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20180416101423epoutp018be26ba6b11470e25be929ff58e45578~l4wXYYCuO2855528555epoutp01s DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1523873663; bh=4D3bTWWMUx9AVyn9S+UYRbApzDBGPPaHVc8+2A7xAIQ=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=H6PMHEw4dWBuzhlJvFnlRnju1aZVjYSf12slzN197M/t2WZozYgat67at5cFCyq3D tl/up2AddqxN9yRKqRmShU5wQUrl/BDQzxfNckt3dCNpuKdliGNULQnCa4OZ6dWnqU ng3Mgb+LZfvDFXsULZEveF0gBOXhE2j4AiGBgA6s= Received: from epsmges2p4.samsung.com (unknown [182.195.42.72]) by epcas2p1.samsung.com (KnoxPortal) with ESMTP id 20180416101422epcas2p10e32daf766d96635b87d5db6b2670e32~l4wXJUqR-2195721957epcas2p1M; Mon, 16 Apr 2018 10:14:22 +0000 (GMT) Received: from epcas2p4.samsung.com ( [182.195.41.56]) by epsmges2p4.samsung.com (Symantec Messaging Gateway) with SMTP id 2E.DE.04082.E7774DA5; Mon, 16 Apr 2018 19:14:22 +0900 (KST) Received: from epsmgms2p2new.samsung.com (unknown [182.195.42.143]) by epcas2p3.samsung.com (KnoxPortal) with ESMTP id 20180416101422epcas2p34c80b64c6c762b98ae4fecfe6a4db4f8~l4wWbNhWA2088620886epcas2p3l; Mon, 16 Apr 2018 10:14:22 +0000 (GMT) X-AuditID: b6c32a48-8c1ff70000000ff2-f5-5ad4777ecb38 Received: from epmmp2 ( [203.254.227.17]) by epsmgms2p2new.samsung.com (Symantec Messaging Gateway) with SMTP id EC.79.03827.D7774DA5; Mon, 16 Apr 2018 19:14:22 +0900 (KST) Received: from AMDC3058.DIGITAL.local ([106.120.53.102]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P79000EEWCHS590@mmp2.samsung.com>; Mon, 16 Apr 2018 19:14:21 +0900 (KST) From: Bartlomiej Zolnierkiewicz To: Eduardo Valentin Cc: Zhang Rui , Krzysztof Kozlowski , Kukjin Kim , Daniel Lezcano , linux-samsung-soc@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, b.zolnierkie@samsung.com Subject: [PATCH 12/14] thermal: exynos: remove separate exynos_tmu.h header file Date: Mon, 16 Apr 2018 12:12:03 +0200 Message-id: <1523873525-23718-13-git-send-email-b.zolnierkie@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1523873525-23718-1-git-send-email-b.zolnierkie@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrEIsWRmVeSWpSXmKPExsWy7bCmhW5d+ZUog+nrzSw2zljPajHvs6zF /CvXWC36H79mtjh/fgO7xeVdc9gsPvceYbSYcX4fk8WTh31sDpweO2fdZfdYvOclk8emVZ1s Hneu7WHz6NuyitHj8ya5ALYoLpuU1JzMstQifbsErowVD54yFcyRqPjdOYW9gXGhSBcjJ4eE gInE2sYrbCC2kMAORol/q+y6GLmA7O+MEu8utzLBFP3uesQCUbSBUeLNJFuIol+MEr9XdoMl 2ASsJCa2r2IEsUUEtCROXNrOBFLELDCBSeLpq5lgK4QFgiROvnwKVsQioCqx9PVGMJtXwFPi 1fZuVohtchInj00GszmB4k1rrrGBDJIQWMAmsXTeCnaIIheJvq9fGCFsYYlXx7dAxaUlnq0C GQrS0Mwo8W3HHmaIxARGiT3rhSBsa4nDxy+CbWAW4JPoOPwXqJkDKM4r0dEGVeIhce/9W6j3 HSU29B1lh3h5DqPEzWO7WCYwSi1gZFjFKJZaUJybnlpsVGCiV5yYW1yal66XnJ+7iREcs1oe OxgPnPM5xCjAwajEw7vj7OUoIdbEsuLK3EOMEhzMSiK8yxKBQrwpiZVVqUX58UWlOanFhxil OViUxHkbfM9ECQmkJ5akZqemFqQWwWSZODilGhgzTDsjJ5w7KDjx2zyjLxMfzu5epMCS9WRD ltGV6+fee94J6l4Uv/Y0V9eWDQmN0zdrP14sY9n556XtxpXZ4afzT8Se+fv91lahwq8Brrkx vnJnOs+9+7LmxJSffdvdNNqld0j5T7h8j9HrXVeInrRbVS6rT9dn7zkz/plW6ouuCbyT6tY2 JapaiaU4I9FQi7moOBEAwfKad9UCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprNLMWRmVeSWpSXmKPExsVy+t9jQd268itRBo8esFlsnLGe1WLeZ1mL +VeusVr0P37NbHH+/AZ2i8u75rBZfO49wmgx4/w+JosnD/vYHDg9ds66y+6xeM9LJo9NqzrZ PO5c28Pm0bdlFaPH501yAWxRXDYpqTmZZalF+nYJXBkrHjxlKpgjUfG7cwp7A+NCkS5GTg4J AROJ312PWLoYuTiEBNYxSvzed4YJwvnFKNHUNo0FpIpNwEpiYvsqRhBbREBL4sSl7WBFzAIT mCSWrF3EDpIQFgiQeHtzDROIzSKgKrH09UawBl4BT4lX27tZIdbJSZw8NhnM5gSKN625xgZi Cwl4SDROvMo4gZFnASPDKkbJ1ILi3PTcYqMCo7zUcr3ixNzi0rx0veT83E2MwCDbdlirfwfj 4yXxhxgFOBiVeHh3nL0cJcSaWFZcmXuIUYKDWUmEd1kiUIg3JbGyKrUoP76oNCe1+BCjNAeL kjgvf/6xSCGB9MSS1OzU1ILUIpgsEwenVANj9KlOj5S5C96errb6u+KGvfV9weLQ1uWqf4UU +m5e2KDofuzVYbbmjUIXLvEZSf+OedTgL7RoAX/2vZpDpya8eaG6aaWhHGe2dPnG2Lm9CXrH zH5c8xFZlXPQZZ3Sv9ebP72VbvhWte5vhO356B/P/GSbXj5a/zBc88SPuzWfL613DKrMieab rMRSnJFoqMVcVJwIAH6RN0YuAgAA X-CMS-MailID: 20180416101422epcas2p34c80b64c6c762b98ae4fecfe6a4db4f8 X-Msg-Generator: CA CMS-TYPE: 102P X-CMS-RootMailID: 20180416101422epcas2p34c80b64c6c762b98ae4fecfe6a4db4f8 X-RootMTR: 20180416101422epcas2p34c80b64c6c762b98ae4fecfe6a4db4f8 References: <1523873525-23718-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 Acked-by: Daniel Lezcano --- 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 7975f33..197f267 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 */