Reviewed-by: Steve Winslow <swinslow@xxxxxxxxx> On Tue, May 28, 2019 at 1:17 PM Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote: > > From: Thomas Gleixner tglx@xxxxxxxxxxxxx > > Based on 1 normalized pattern(s): > > you may use this code as per gpl version 2 > > extracted by the scancode license scanner the SPDX license identifier > > GPL-2.0-only > > has been chosen to replace the boilerplate/reference in 5 file(s). > > Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx> > > --- > https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch10&id=3ddd183ab55d > --- > drivers/power/supply/power_supply.h | 3 +-- > drivers/power/supply/power_supply_core.c | 3 +-- > drivers/power/supply/power_supply_leds.c | 3 +-- > drivers/power/supply/power_supply_sysfs.c | 3 +-- > include/linux/power_supply.h | 3 +-- > 5 files changed, 5 insertions(+), 10 deletions(-) > > --- a/drivers/power/supply/power_supply.h > +++ b/drivers/power/supply/power_supply.h > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /* > * Functions private to power supply class > * > @@ -6,8 +7,6 @@ > * Copyright © 2003 Ian Molton <spyro@xxxxxxx> > * > * Modified: 2004, Oct Szabolcs Gyurko > - * > - * You may use this code as per GPL version 2 > */ > > struct device; > --- a/drivers/power/supply/power_supply_core.c > +++ b/drivers/power/supply/power_supply_core.c > @@ -1,3 +1,4 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * Universal power supply monitor class > * > @@ -6,8 +7,6 @@ > * Copyright © 2003 Ian Molton <spyro@xxxxxxx> > * > * Modified: 2004, Oct Szabolcs Gyurko > - * > - * You may use this code as per GPL version 2 > */ > > #include <linux/module.h> > --- a/drivers/power/supply/power_supply_leds.c > +++ b/drivers/power/supply/power_supply_leds.c > @@ -1,3 +1,4 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * LEDs triggers for power supply class > * > @@ -6,8 +7,6 @@ > * Copyright © 2003 Ian Molton <spyro@xxxxxxx> > * > * Modified: 2004, Oct Szabolcs Gyurko > - * > - * You may use this code as per GPL version 2 > */ > > #include <linux/kernel.h> > --- a/drivers/power/supply/power_supply_sysfs.c > +++ b/drivers/power/supply/power_supply_sysfs.c > @@ -1,3 +1,4 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * Sysfs interface for the universal power supply monitor class > * > @@ -7,8 +8,6 @@ > * Copyright © 2003 Ian Molton <spyro@xxxxxxx> > * > * Modified: 2004, Oct Szabolcs Gyurko > - * > - * You may use this code as per GPL version 2 > */ > > #include <linux/ctype.h> > --- a/include/linux/power_supply.h > +++ b/include/linux/power_supply.h > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /* > * Universal power supply monitor class > * > @@ -6,8 +7,6 @@ > * Copyright © 2003 Ian Molton <spyro@xxxxxxx> > * > * Modified: 2004, Oct Szabolcs Gyurko > - * > - * You may use this code as per GPL version 2 > */ > > #ifndef __LINUX_POWER_SUPPLY_H__ > > -- Steve Winslow Director of Strategic Programs The Linux Foundation swinslow@xxxxxxxxxxxxxxxxxxx