Received: by 10.223.185.116 with SMTP id b49csp3893955wrg; Tue, 6 Mar 2018 06:46:35 -0800 (PST) X-Google-Smtp-Source: AG47ELuOpgM4Hbx+1lS7oddU5fTyUZFR6D6FWKUtSBQX+U21ov6WaIFUkjUGR7hJ0p5mAxtH3GVv X-Received: by 10.99.168.75 with SMTP id i11mr15132849pgp.420.1520347595769; Tue, 06 Mar 2018 06:46:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520347595; cv=none; d=google.com; s=arc-20160816; b=YvS8IHVg/5A0tbnr0nDo+TuyGpfnq1vOJDFNpKrAppPjhnmSbhraBkGBcXrOO6pUUF ZyCPVCISL91NLFsRd7xNuJ9W+HE/phVu0suGv/NnLUmQR6dFHlu7TSFtsHBDEekcM7eP tU1oziCs2iI1PPC76h9wUt+CsmCYWE/VxNbxODiPpBWK8HkqsQUVtyNtMrgNEP/ZNCjh MJU2RwJrMKWx0SO/6gPfGgdLfR5N+uw3kP8BGPy04Gagno06re+mIptT1oQ/YPoV3sAg p/4qkTQQ5y3wgmahJ6RY85FNSkHpQFARTwKdamcmwuWu1qee6ENfKGoEr9YOXTMQ8EaU 9Z2Q== 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=9FDngBNWgPKV6TbrmYIQceifLXdfQGZutAHx3z+Xe6M=; b=UPxYnw8StkY2r8YJr3Kcbobf1TEVpuJpbUJvlXujP79ygdGyLt+XHVS1JUejoziZjh lHgUxQkz4Ut0ZgJQZcGc93J4mbKUqBbbbAFKLi/rXMzJCyUrKo4cyhHguhUh3Upye367 alG8qAjvrUTttCB2BpQ3mklTsuM/mbcA5o+Vuns706km80B1NWrxuwQmhFZfC3a9SNtt JzfaeZ0IMpLFaKjigDoX8K8Zk/KM5rS41sxVIvnh90AUYHbLFmNvobiGzemhzr6Gd/gJ mQN26PKigCeIccN8SflRPpmY6sBzAXrCntdzl12zus/n9JPXY2Yd55NlijfUmNR1cfS+ eBoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=mfmxZmZ2; 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 k4si9954336pgf.313.2018.03.06.06.46.21; Tue, 06 Mar 2018 06:46:35 -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=mfmxZmZ2; 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 S933491AbeCFOpb (ORCPT + 99 others); Tue, 6 Mar 2018 09:45:31 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:49832 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932313AbeCFOpY (ORCPT ); Tue, 6 Mar 2018 09:45:24 -0500 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 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 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/49fMFufPb2C32PQYyL28aw6bxefeI4wWM87vY7I4NHUvo8XS6xeZLFr3HmG3ePKw j82B12PNvDWMHpevXWT22DnrLrvH4j0vmTw2repk89i8pN6jb8sqRo/Pm+QCOKK4bFJSczLL Uov07RK4Mpb1nGMqWCpcsfjiUvYGxskCXYycHBICJhKLnmxi62Lk4hAS2MEosff9KiaQhJDA d0aJe8dDYYoe/J8JVbSbUeLCx92MEM4vRonPDbsYQarYBKwkJravArNFBEokpq3qBStiFjjL JLFj+zsWkISwQJjElSWNbCA2i4CqxKzLt9lBbF4BT4mX/9YyQayTkzh5bDIriM0JFD/RcY4N In6CTWLm60II20Xi+rpuFghbWOLV8S3sELa0xLNVG8EWSwg0M0p827GHGSIxgVFiz3ohCNta 4vDxi2ALmAX4JDoO/wVq5gCK80p0tEGVeEh8v/EY6h5HiZ2fW5ggPp7DKPH/ywzWCYxSCxgZ VjGKpRYU56anFhsVmOgVJ+YWl+al6yXn525iBMe7lscOxgPnfA4xCnAwKvHwbvCYGyXEmlhW XJl7iFGCg1lJhDdCf16UEG9KYmVValF+fFFpTmrxIUZpDhYlcd62AJcoIYH0xJLU7NTUgtQi mCwTB6dUA6PhjIS0lp3cnV+DVRY0HzLsVOvk/X9//atZZ3nZXt61cxFm8TNzZ59cpayndax8 Z9eb/tOlwhOLshi9Ox5otq3dtM9p3ZHkNa9Zf+5fafWMNan/iMizU011O7m3p4ZaLJ/nZHdK 59ZXR3UtA90pH4Ud3N9YvNn76lvliRo+/z3THpjM6n9195USS3FGoqEWc1FxIgBY+ZIT8wIA AA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrBLMWRmVeSWpSXmKPExsVy+t9jAd2GlfOiDL5t17TYOGM9q8X8I+eA xJVrrBb9j18zW5w/v4HdYtNjIPfyrjlsFp97jzBazDi/j8ni0NS9jBZLr19ksmjde4Td4snD PjYHXo8189Ywely+dpHZY+esu+wei/e8ZPLYtKqTzWPzknqPvi2rGD0+b5IL4IjisklJzcks Sy3St0vgyljWc46pYKlwxeKLS9kbGCcLdDFyckgImEg8+D+TrYuRi0NIYCejxJuHi6CcX4wS 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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 */ -- 1.9.1