From: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> To: Zhang Rui <rui.zhang@intel.com>, Eduardo Valentin <edubezval@gmail.com>, Krzysztof Kozlowski <krzk@kernel.org> Cc: Kukjin Kim <kgene@kernel.org>, Rob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Russell King <linux@armlinux.org.uk>, 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 [thread overview] Message-ID: <1520347435-22970-13-git-send-email-b.zolnierkie@samsung.com> (raw) In-Reply-To: <1520347435-22970-1-git-send-email-b.zolnierkie@samsung.com> 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 <b.zolnierkie@samsung.com> --- 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 <linux/regulator/consumer.h> #include <linux/cpu_cooling.h> -#include <dt-bindings/thermal/thermal_exynos.h> - #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 <l.majewski@samsung.com> - * - * 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
WARNING: multiple messages have this Message-ID (diff)
From: b.zolnierkie@samsung.com (Bartlomiej Zolnierkiewicz) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 12/12] thermal: exynos: remove separate thermal_exynos.h header file Date: Tue, 06 Mar 2018 15:43:55 +0100 [thread overview] Message-ID: <1520347435-22970-13-git-send-email-b.zolnierkie@samsung.com> (raw) In-Reply-To: <1520347435-22970-1-git-send-email-b.zolnierkie@samsung.com> 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 <b.zolnierkie@samsung.com> --- 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 <linux/regulator/consumer.h> #include <linux/cpu_cooling.h> -#include <dt-bindings/thermal/thermal_exynos.h> - #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 <l.majewski@samsung.com> - * - * 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
next prev parent reply other threads:[~2018-03-06 14:45 UTC|newest] Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <CGME20180306144427epcas1p3bd260e382c61ab5176a50aa95084b542@epcas1p3.samsung.com> 2018-03-06 14:43 ` [PATCH 00/12] thermal: exynos: sanitize DeviceTree support Bartlomiej Zolnierkiewicz 2018-03-06 14:43 ` Bartlomiej Zolnierkiewicz [not found] ` <CGME20180306144431epcas2p1fef7b2d8130decb08e023b4ff329e9ff@epcas2p1.samsung.com> 2018-03-06 14:43 ` [PATCH 01/12] thermal: exynos: remove unused "type" field from struct exynos_tmu_platform_data Bartlomiej Zolnierkiewicz 2018-03-06 14:43 ` Bartlomiej Zolnierkiewicz [not found] ` <CGME20180306144436epcas2p2f26ee2297cbd0e654930e8bb85512fe6@epcas2p2.samsung.com> 2018-03-06 14:43 ` [PATCH 02/12] thermal: exynos: remove parsing of samsung,tmu_default_temp_offset property Bartlomiej Zolnierkiewicz 2018-03-06 14:43 ` Bartlomiej Zolnierkiewicz 2018-03-06 14:43 ` Bartlomiej Zolnierkiewicz [not found] ` <CGME20180306144440epcas2p30fd2531c12454051bfe6ae0cf0d35b2e@epcas2p3.samsung.com> 2018-03-06 14:43 ` [PATCH 03/12] thermal: exynos: remove parsing of samsung,tmu_[first,second]_point_trim properties Bartlomiej Zolnierkiewicz 2018-03-06 14:43 ` Bartlomiej Zolnierkiewicz [not found] ` <CGME20180306144445epcas1p1b2dee15107098f5974e3c41403594ffc@epcas1p1.samsung.com> 2018-03-06 14:43 ` [PATCH 04/12] thermal: exynos: remove parsing of samsung,tmu_noise_cancel_mode property Bartlomiej Zolnierkiewicz 2018-03-06 14:43 ` Bartlomiej Zolnierkiewicz [not found] ` <CGME20180306144449epcas2p3e19959aa4d5d9846aacf8ff1b677d352@epcas2p3.samsung.com> 2018-03-06 14:43 ` [PATCH 05/12] thermal: exynos: remove parsing of samsung,tmu[_min,_max]_efuse_value properties Bartlomiej Zolnierkiewicz 2018-03-06 14:43 ` Bartlomiej Zolnierkiewicz [not found] ` <CGME20180306144453epcas2p2d440c954c21c800e21f121418d7e5ec8@epcas2p2.samsung.com> 2018-03-06 14:43 ` [PATCH 06/12] thermal: exynos: remove parsing of samsung,tmu_reference_voltage property Bartlomiej Zolnierkiewicz 2018-03-06 14:43 ` Bartlomiej Zolnierkiewicz 2018-03-06 14:43 ` Bartlomiej Zolnierkiewicz [not found] ` <CGME20180306144458epcas2p1102a06fa3e58b88cad914be624e0c1db@epcas2p1.samsung.com> 2018-03-06 14:43 ` [PATCH 07/12] thermal: exynos: remove parsing of samsung,tmu_gain property Bartlomiej Zolnierkiewicz 2018-03-06 14:43 ` Bartlomiej Zolnierkiewicz [not found] ` <CGME20180306144502epcas2p2818ee9c6d378d91fbff666549fb01931@epcas2p2.samsung.com> 2018-03-06 14:43 ` [PATCH 08/12] thermal: exynos: remove parsing of samsung,tmu_cal_type property Bartlomiej Zolnierkiewicz 2018-03-06 14:43 ` Bartlomiej Zolnierkiewicz [not found] ` <CGME20180306144507epcas2p2bcff1b5d29b84d248fcb153e4af63c16@epcas2p2.samsung.com> 2018-03-06 14:43 ` [PATCH 09/12] thermal: exynos: remove separate exynos_tmu.h header file Bartlomiej Zolnierkiewicz 2018-03-06 14:43 ` Bartlomiej Zolnierkiewicz [not found] ` <CGME20180306144511epcas2p1c1c00d0bdea1e329d2d3d5583f135437@epcas2p1.samsung.com> 2018-03-06 14:43 ` [PATCH 10/12] ARM: dts: remove no longer needed samsung thermal properties Bartlomiej Zolnierkiewicz 2018-03-06 14:43 ` Bartlomiej Zolnierkiewicz 2018-03-06 15:23 ` Krzysztof Kozlowski 2018-03-06 15:23 ` Krzysztof Kozlowski [not found] ` <CGME20180306144516epcas1p3e951e15e666779c870ad091d65041409@epcas1p3.samsung.com> 2018-03-06 14:43 ` [PATCH 11/12] dt-bindings: thermal: " Bartlomiej Zolnierkiewicz 2018-03-06 14:43 ` Bartlomiej Zolnierkiewicz 2018-03-08 2:00 ` Rob Herring 2018-03-08 2:00 ` Rob Herring 2018-03-08 2:00 ` Rob Herring [not found] ` <CGME20180306144520epcas2p4950ac2762036882ccd097fd2bf629bbc@epcas2p4.samsung.com> 2018-03-06 14:43 ` Bartlomiej Zolnierkiewicz [this message] 2018-03-06 14:43 ` [PATCH 12/12] thermal: exynos: remove separate thermal_exynos.h header file Bartlomiej Zolnierkiewicz 2018-03-08 2:01 ` Rob Herring 2018-03-08 2:01 ` Rob Herring 2018-03-14 23:42 ` [PATCH 00/12] thermal: exynos: sanitize DeviceTree support Eduardo Valentin 2018-03-14 23:42 ` Eduardo Valentin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1520347435-22970-13-git-send-email-b.zolnierkie@samsung.com \ --to=b.zolnierkie@samsung.com \ --cc=devicetree@vger.kernel.org \ --cc=edubezval@gmail.com \ --cc=kgene@kernel.org \ --cc=krzk@kernel.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-pm@vger.kernel.org \ --cc=linux-samsung-soc@vger.kernel.org \ --cc=linux@armlinux.org.uk \ --cc=mark.rutland@arm.com \ --cc=robh+dt@kernel.org \ --cc=rui.zhang@intel.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.