* [PATCH v1] backlight: pwm_bl: convert to use SPDX identifier
@ 2019-06-19 13:59 Andy Shevchenko
2019-06-20 14:14 ` Daniel Thompson
2019-06-26 10:56 ` Lee Jones
0 siblings, 2 replies; 3+ messages in thread
From: Andy Shevchenko @ 2019-06-19 13:59 UTC (permalink / raw)
To: Thierry Reding, linux-pwm, Lee Jones, Daniel Thompson,
Jingoo Han, dri-devel
Cc: Andy Shevchenko
Reduce size of duplicated comments by switching to use SPDX identifier.
No functional change.
While here, correct MODULE_LICENSE() string to be aligned with license text.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
drivers/video/backlight/pwm_bl.c | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/drivers/video/backlight/pwm_bl.c b/drivers/video/backlight/pwm_bl.c
index fb45f866b923..1f7f8d5c0bf1 100644
--- a/drivers/video/backlight/pwm_bl.c
+++ b/drivers/video/backlight/pwm_bl.c
@@ -1,13 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
/*
- * linux/drivers/video/backlight/pwm_bl.c
- *
- * simple PWM based backlight control, board code has to setup
+ * Simple PWM based backlight control, board code has to setup
* 1) pin configuration so PWM waveforms can output
* 2) platform_data being correctly configured
- *
- * 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.
*/
#include <linux/delay.h>
@@ -708,5 +703,5 @@ static struct platform_driver pwm_backlight_driver = {
module_platform_driver(pwm_backlight_driver);
MODULE_DESCRIPTION("PWM based Backlight Driver");
-MODULE_LICENSE("GPL");
+MODULE_LICENSE("GPL v2");
MODULE_ALIAS("platform:pwm-backlight");
--
2.20.1
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v1] backlight: pwm_bl: convert to use SPDX identifier
2019-06-19 13:59 [PATCH v1] backlight: pwm_bl: convert to use SPDX identifier Andy Shevchenko
@ 2019-06-20 14:14 ` Daniel Thompson
2019-06-26 10:56 ` Lee Jones
1 sibling, 0 replies; 3+ messages in thread
From: Daniel Thompson @ 2019-06-20 14:14 UTC (permalink / raw)
To: Andy Shevchenko, Thierry Reding, linux-pwm, Lee Jones,
Jingoo Han, dri-devel
On 19/06/2019 14:59, Andy Shevchenko wrote:
> Reduce size of duplicated comments by switching to use SPDX identifier.
>
> No functional change.
>
> While here, correct MODULE_LICENSE() string to be aligned with license text.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Daniel Thompson <daniel.thompson@linaro.org>
> ---
> drivers/video/backlight/pwm_bl.c | 11 +++--------
> 1 file changed, 3 insertions(+), 8 deletions(-)
>
> diff --git a/drivers/video/backlight/pwm_bl.c b/drivers/video/backlight/pwm_bl.c
> index fb45f866b923..1f7f8d5c0bf1 100644
> --- a/drivers/video/backlight/pwm_bl.c
> +++ b/drivers/video/backlight/pwm_bl.c
> @@ -1,13 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0
> /*
> - * linux/drivers/video/backlight/pwm_bl.c
> - *
> - * simple PWM based backlight control, board code has to setup
> + * Simple PWM based backlight control, board code has to setup
> * 1) pin configuration so PWM waveforms can output
> * 2) platform_data being correctly configured
> - *
> - * 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.
> */
>
> #include <linux/delay.h>
> @@ -708,5 +703,5 @@ static struct platform_driver pwm_backlight_driver = {
> module_platform_driver(pwm_backlight_driver);
>
> MODULE_DESCRIPTION("PWM based Backlight Driver");
> -MODULE_LICENSE("GPL");
> +MODULE_LICENSE("GPL v2");
> MODULE_ALIAS("platform:pwm-backlight");
>
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v1] backlight: pwm_bl: convert to use SPDX identifier
2019-06-19 13:59 [PATCH v1] backlight: pwm_bl: convert to use SPDX identifier Andy Shevchenko
2019-06-20 14:14 ` Daniel Thompson
@ 2019-06-26 10:56 ` Lee Jones
1 sibling, 0 replies; 3+ messages in thread
From: Lee Jones @ 2019-06-26 10:56 UTC (permalink / raw)
To: Andy Shevchenko
Cc: linux-pwm, Daniel Thompson, Thierry Reding, dri-devel, Jingoo Han
On Wed, 19 Jun 2019, Andy Shevchenko wrote:
> Reduce size of duplicated comments by switching to use SPDX identifier.
>
> No functional change.
>
> While here, correct MODULE_LICENSE() string to be aligned with license text.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
> drivers/video/backlight/pwm_bl.c | 11 +++--------
> 1 file changed, 3 insertions(+), 8 deletions(-)
Applied, thanks.
--
Lee Jones [李琼斯]
Linaro Services Technical Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-06-26 10:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-19 13:59 [PATCH v1] backlight: pwm_bl: convert to use SPDX identifier Andy Shevchenko
2019-06-20 14:14 ` Daniel Thompson
2019-06-26 10:56 ` Lee Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).