2017-06-08 15:47:20

by Waldemar Rymarkiewicz

[permalink] [raw]
Subject: [PATCH] thermal: Fix improper clock_cooling header guard

Most likely copy-paste mistake, so replace __CPU_COOLING_H__ header guard
with more suitable __CLOCK_COOLING_H__.

Signed-off-by: Waldemar Rymarkiewicz <[email protected]>
---
include/linux/clock_cooling.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/linux/clock_cooling.h b/include/linux/clock_cooling.h
index 4d1019d56f7f..8cee7b281e96 100644
--- a/include/linux/clock_cooling.h
+++ b/include/linux/clock_cooling.h
@@ -20,8 +20,8 @@
* General Public License for more details.
*/

-#ifndef __CPU_COOLING_H__
-#define __CPU_COOLING_H__
+#ifndef __CLOCK_COOLING_H__
+#define __CLOCK_COOLING_H__

#include <linux/of.h>
#include <linux/thermal.h>
@@ -62,4 +62,4 @@ unsigned long clock_cooling_get_level(struct thermal_cooling_device *cdev,
}
#endif /* CONFIG_CLOCK_THERMAL */

-#endif /* __CPU_COOLING_H__ */
+#endif /* __CLOCK_COOLING_H__ */
--
2.13.0


2017-06-28 14:26:24

by Waldemar Rymarkiewicz

[permalink] [raw]
Subject: Re: [PATCH] thermal: Fix improper clock_cooling header guard

On 8 June 2017 at 17:47, Waldemar Rymarkiewicz
<[email protected]> wrote:
> Most likely copy-paste mistake, so replace __CPU_COOLING_H__ header guard
> with more suitable __CLOCK_COOLING_H__.
>
> Signed-off-by: Waldemar Rymarkiewicz <[email protected]>
> ---
> include/linux/clock_cooling.h | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)


+ linux-pm and thermal people

/Waldek