backlight: pwm_bl: convert to use SPDX identifier
Subsystems (3)
PATCH 1/1 backlight: pwm_bl: convert to use SPDX identifier
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.
--- drivers/video/backlight/pwm_bl.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-)
drivers/video/backlight/pwm_bl.c +3 -8
@@ -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" );
Signature · 6 lines
2.20.1 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 7 lines · 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 <[email protected]>
Quoted 26 lines
--- drivers/video/backlight/pwm_bl.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-)drivers/video/backlight/pwm_bl.c +2
-7@@ -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>
drivers/video/backlight/pwm_bl.c static struct platform_driver pwm_backlight_driver = { · line 707
Quoted 6 lines
drivers/video/backlight/pwm_bl.c +1
-1@@ -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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Lee Jones
AppliedQuoted 10 lines · 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 <[email protected]>--- drivers/video/backlight/pwm_bl.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-)
Applied, thanks.
Signature · 8 lines
Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel