From patchwork Tue Mar 6 14:43:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 10262017 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 CA55A6055D for ; Tue, 6 Mar 2018 14:47:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B7DE728511 for ; Tue, 6 Mar 2018 14:47:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AC7E728578; Tue, 6 Mar 2018 14:47:48 +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 2722028511 for ; Tue, 6 Mar 2018 14:47:48 +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=UswdzCVV5GILLzbAT52BcXtEoQXUdFBDG0PH3XvFulo=; b=GJPLPFfiMtnuJzro7hgSgHXQeu SJLGJawQisDXTgswUsXEzbnUllAGqd9a+mRokNuLhqNyuSbSkP6SixCcVFtT/OMqlAikMe/XmVqUL /w19M+dgBn69giFXyqo6067EO9HWxC+lMSSKGUm8f/eOy9uc40aJiIkQz1hYNsuzX6ZJybMbWILhZ KXhLelOi3h3sO/QldQIuCGtrHgaGyah79cHiekMI31wOIXRK28yswhdrHMLNRS+ocQi3ZPdPWKU+f 73anWxkaMG0N40QspdpbDPisxmj4VtCRLW4tkNt2viQvCf0Dw44MsiioohQUmbpzthrhzhDs/48mB pqCw4lEg==; 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 1etDsL-0006yV-Qu; Tue, 06 Mar 2018 14:47:33 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1etDqQ-0005Kg-71 for linux-arm-kernel@lists.infradead.org; Tue, 06 Mar 2018 14:46:16 +0000 Received: from epcas2p4.samsung.com (unknown [182.195.41.56]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20180306144522epoutp02fe21396f571f480bad09e72d05ac7b94~ZXAREmu4q1274612746epoutp02f; Tue, 6 Mar 2018 14:45:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20180306144522epoutp02fe21396f571f480bad09e72d05ac7b94~ZXAREmu4q1274612746epoutp02f DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1520347522; bh=9FDngBNWgPKV6TbrmYIQceifLXdfQGZutAHx3z+Xe6M=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=mfmxZmZ2qNfahLgGNaryhBMfJkkjtcqI10Xv+bmQ8Gv8ce+JtNilkjs37HH2Z/Zv0 0uTst2LWo91sAX0Poy2ilinGAJS9d1KAM4D/u0eK8AE2jbkK+ns+TwHwdbF+dpNixC sAcUHYgXUZ4YxlttABrwRcjcBAQwfVHU+jqGvAmc= Received: from epsmges2p4.samsung.com (unknown [182.195.42.72]) by epcas2p4.samsung.com (KnoxPortal) with ESMTP id 20180306144521epcas2p42ec0e7b60c2e2313963949adb893b359~ZXAQBK0hz1830318303epcas2p4d; Tue, 6 Mar 2018 14:45:21 +0000 (GMT) Received: from epcas2p1.samsung.com ( [182.195.41.53]) by epsmges2p4.samsung.com (Symantec Messaging Gateway) with SMTP id 4A.A7.04080.189AE9A5; Tue, 6 Mar 2018 23:45:21 +0900 (KST) Received: from epsmgms2p2new.samsung.com (unknown [182.195.42.143]) by epcas2p4.samsung.com (KnoxPortal) with ESMTP id 20180306144520epcas2p4950ac2762036882ccd097fd2bf629bbc~ZXAPVrNZ22683226832epcas2p4X; Tue, 6 Mar 2018 14:45:20 +0000 (GMT) X-AuditID: b6c32a48-9adff70000000ff0-7a-5a9ea98103db Received: from epmmp1.local.host ( [203.254.227.16]) by epsmgms2p2new.samsung.com (Symantec Messaging Gateway) with SMTP id A2.D3.03890.089AE9A5; Tue, 6 Mar 2018 23:45:20 +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:20 +0900 (KST) From: Bartlomiej Zolnierkiewicz To: Zhang Rui , Eduardo Valentin , Krzysztof Kozlowski Subject: [PATCH 12/12] thermal: exynos: remove separate thermal_exynos.h header file Date: Tue, 06 Mar 2018 15:43:55 +0100 Message-id: <1520347435-22970-13-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+NgFnrAIsWRmVeSWpSXmKPExsWy7bCmqW7jynlRBl0npCw2zljPajH/yDkg ceUaq0X/49fMFufPb2C32PQYyL28aw6bxefeI4wWM87vY7I4NHUvo8XS6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0NIYCejxJuHi6CcX4wS qzfdYwapYhOwkpjYvooRxBYRKJHonPYaLM4scJZJ4uB/DhBbWCBM4kYvyCRODhYBVYlZl2+z g9i8Ap4SL/+tZYLYJidx8thkVhCbEyh+ouMcWL2QgIfE4u7fbBMYeRYwMqxilEwtKM5Nzy02 KjDKSy3XK07MLS7NS9dLzs/dxAgMz22Htfp3MD5eEn+IUYCDUYmHd4PH3Cgh1sSy4srcQ4wS HMxKIrwR+vOihHhTEiurUovy44tKc1KLDzFKc7AoifPy5x+LFBJITyxJzU5NLUgtgskycXBK NTBW6q/qq9jIJf4uXTVWyPqklPqp3S/2Lb38/e+zw5PjWDN05k7/XV/IzZ9sUevEcmX9LtWz dYZy3ywKCi/MiEz54r870GMZg+0zwcyayzF8+UEpC3XnVVxsXfmwSW1y2LNrUwqn/4hLXab8 Y/aWayv5m22XsMzV3cV+KfPzd91X7GfeKZtx+F1TYinOSDTUYi4qTgQAj/pAxEsCAAA= X-CMS-MailID: 20180306144520epcas2p4950ac2762036882ccd097fd2bf629bbc X-Msg-Generator: CA CMS-TYPE: 102P X-CMS-RootMailID: 20180306144520epcas2p4950ac2762036882ccd097fd2bf629bbc X-RootMTR: 20180306144520epcas2p4950ac2762036882ccd097fd2bf629bbc 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_064535_400580_01FD24A6 X-CRM114-Status: GOOD ( 14.35 ) 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 thermal_exynos.h is used only by exynos_tmu.c so there is no need for a separate include file. Also while it remove unused defines. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz Reviewed-by: Rob Herring --- drivers/thermal/samsung/exynos_tmu.c | 5 +++-- include/dt-bindings/thermal/thermal_exynos.h | 28 ---------------------------- 2 files changed, 3 insertions(+), 30 deletions(-) delete mode 100644 include/dt-bindings/thermal/thermal_exynos.h diff --git a/drivers/thermal/samsung/exynos_tmu.c b/drivers/thermal/samsung/exynos_tmu.c index d8b9c3e..a16c37d 100644 --- a/drivers/thermal/samsung/exynos_tmu.c +++ b/drivers/thermal/samsung/exynos_tmu.c @@ -36,8 +36,6 @@ #include #include -#include - #include "../thermal_core.h" /* Exynos generic registers */ @@ -169,6 +167,9 @@ #define EXYNOS7_EMUL_DATA_SHIFT 7 #define EXYNOS7_EMUL_DATA_MASK 0x1ff +#define TYPE_ONE_POINT_TRIMMING 0 +#define TYPE_TWO_POINT_TRIMMING 1 + #define EXYNOS_FIRST_POINT_TRIM 25 #define EXYNOS_SECOND_POINT_TRIM 85 diff --git a/include/dt-bindings/thermal/thermal_exynos.h b/include/dt-bindings/thermal/thermal_exynos.h deleted file mode 100644 index 0646500..0000000 --- a/include/dt-bindings/thermal/thermal_exynos.h +++ /dev/null @@ -1,28 +0,0 @@ -/* - * thermal_exynos.h - Samsung EXYNOS TMU device tree definitions - * - * Copyright (C) 2014 Samsung Electronics - * Lukasz Majewski - * - * 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. - * - */ - -#ifndef _EXYNOS_THERMAL_TMU_DT_H -#define _EXYNOS_THERMAL_TMU_DT_H - -#define TYPE_ONE_POINT_TRIMMING 0 -#define TYPE_ONE_POINT_TRIMMING_25 1 -#define TYPE_ONE_POINT_TRIMMING_85 2 -#define TYPE_TWO_POINT_TRIMMING 3 -#define TYPE_NONE 4 - -#endif /* _EXYNOS_THERMAL_TMU_DT_H */