Linux-PM Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] thermal: Update power allocator and devfreq cooling to SPDX licensing
@ 2020-07-30 16:51 Lukasz Luba
  2020-07-30 17:27 ` Daniel Lezcano
  0 siblings, 1 reply; 3+ messages in thread
From: Lukasz Luba @ 2020-07-30 16:51 UTC (permalink / raw)
  To: linux-kernel, linux-pm, daniel.lezcano, amitk; +Cc: lukasz.luba

Update the license to the SPDX licensing format.

Signed-off-by: Lukasz Luba <lukasz.luba@arm.com>
---
 drivers/thermal/devfreq_cooling.c     | 10 +---------
 drivers/thermal/gov_power_allocator.c |  9 +--------
 include/linux/devfreq_cooling.h       |  9 +--------
 3 files changed, 3 insertions(+), 25 deletions(-)

diff --git a/drivers/thermal/devfreq_cooling.c b/drivers/thermal/devfreq_cooling.c
index f7f32e98331b..a12d29096229 100644
--- a/drivers/thermal/devfreq_cooling.c
+++ b/drivers/thermal/devfreq_cooling.c
@@ -1,18 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * devfreq_cooling: Thermal cooling device implementation for devices using
  *                  devfreq
  *
  * Copyright (C) 2014-2015 ARM Limited
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
  * TODO:
  *    - If OPPs are added or removed after devfreq cooling has
  *      registered, the devfreq cooling won't react to it.
diff --git a/drivers/thermal/gov_power_allocator.c b/drivers/thermal/gov_power_allocator.c
index 44636475b2a3..5cb518d8f156 100644
--- a/drivers/thermal/gov_power_allocator.c
+++ b/drivers/thermal/gov_power_allocator.c
@@ -1,16 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * A power allocator to manage temperature
  *
  * Copyright (C) 2014 ARM Ltd.
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
  */
 
 #define pr_fmt(fmt) "Power allocator: " fmt
diff --git a/include/linux/devfreq_cooling.h b/include/linux/devfreq_cooling.h
index 79a6e37a1d6f..9df2dfca68dd 100644
--- a/include/linux/devfreq_cooling.h
+++ b/include/linux/devfreq_cooling.h
@@ -1,17 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * devfreq_cooling: Thermal cooling device implementation for devices using
  *                  devfreq
  *
  * Copyright (C) 2014-2015 ARM Limited
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #ifndef __DEVFREQ_COOLING_H__
-- 
2.17.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] thermal: Update power allocator and devfreq cooling to SPDX licensing
  2020-07-30 16:51 [PATCH] thermal: Update power allocator and devfreq cooling to SPDX licensing Lukasz Luba
@ 2020-07-30 17:27 ` Daniel Lezcano
  2020-07-30 18:00   ` Lukasz Luba
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Lezcano @ 2020-07-30 17:27 UTC (permalink / raw)
  To: Lukasz Luba, linux-kernel, linux-pm, amitk

On 30/07/2020 18:51, Lukasz Luba wrote:
> Update the license to the SPDX licensing format.
> 
> Signed-off-by: Lukasz Luba <lukasz.luba@arm.com>

Applied, thanks


-- 
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] thermal: Update power allocator and devfreq cooling to SPDX licensing
  2020-07-30 17:27 ` Daniel Lezcano
@ 2020-07-30 18:00   ` Lukasz Luba
  0 siblings, 0 replies; 3+ messages in thread
From: Lukasz Luba @ 2020-07-30 18:00 UTC (permalink / raw)
  To: Daniel Lezcano, linux-kernel, linux-pm, amitk



On 7/30/20 6:27 PM, Daniel Lezcano wrote:
> On 30/07/2020 18:51, Lukasz Luba wrote:
>> Update the license to the SPDX licensing format.
>>
>> Signed-off-by: Lukasz Luba <lukasz.luba@arm.com>
> 
> Applied, thanks
> 
> 

Thank you Daniel.

Regards,
Lukasz

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-30 16:51 [PATCH] thermal: Update power allocator and devfreq cooling to SPDX licensing Lukasz Luba
2020-07-30 17:27 ` Daniel Lezcano
2020-07-30 18:00   ` Lukasz Luba

Linux-PM Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-pm/0 linux-pm/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-pm linux-pm/ https://lore.kernel.org/linux-pm \
		linux-pm@vger.kernel.org
	public-inbox-index linux-pm

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-pm


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git