Skip to content

Commit 0de967f

Browse files
lukaszluba-armdlezcano
authored andcommitted
thermal: Update power allocator and devfreq cooling to SPDX licensing
Update the license to the SPDX licensing format. Signed-off-by: Lukasz Luba <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 09e91cd commit 0de967f

File tree

3 files changed

+3
-25
lines changed

3 files changed

+3
-25
lines changed

drivers/thermal/devfreq_cooling.c

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,10 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* devfreq_cooling: Thermal cooling device implementation for devices using
34
* devfreq
45
*
56
* Copyright (C) 2014-2015 ARM Limited
67
*
7-
* This program is free software; you can redistribute it and/or modify
8-
* it under the terms of the GNU General Public License version 2 as
9-
* published by the Free Software Foundation.
10-
*
11-
* This program is distributed "as is" WITHOUT ANY WARRANTY of any
12-
* kind, whether express or implied; without even the implied warranty
13-
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
* GNU General Public License for more details.
15-
*
168
* TODO:
179
* - If OPPs are added or removed after devfreq cooling has
1810
* registered, the devfreq cooling won't react to it.

drivers/thermal/gov_power_allocator.c

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,9 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* A power allocator to manage temperature
34
*
45
* Copyright (C) 2014 ARM Ltd.
56
*
6-
* This program is free software; you can redistribute it and/or modify
7-
* it under the terms of the GNU General Public License version 2 as
8-
* published by the Free Software Foundation.
9-
*
10-
* This program is distributed "as is" WITHOUT ANY WARRANTY of any
11-
* kind, whether express or implied; without even the implied warranty
12-
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
* GNU General Public License for more details.
147
*/
158

169
#define pr_fmt(fmt) "Power allocator: " fmt

include/linux/devfreq_cooling.h

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
1+
/* SPDX-License-Identifier: GPL-2.0 */
12
/*
23
* devfreq_cooling: Thermal cooling device implementation for devices using
34
* devfreq
45
*
56
* Copyright (C) 2014-2015 ARM Limited
67
*
7-
* This program is free software; you can redistribute it and/or modify
8-
* it under the terms of the GNU General Public License version 2 as
9-
* published by the Free Software Foundation.
10-
*
11-
* This program is distributed "as is" WITHOUT ANY WARRANTY of any
12-
* kind, whether express or implied; without even the implied warranty
13-
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
* GNU General Public License for more details.
158
*/
169

1710
#ifndef __DEVFREQ_COOLING_H__

0 commit comments

Comments
 (0)