Message ID | 20230309225041.477440-12-sre@kernel.org (mailing list archive) |
---|---|
State | Handled Elsewhere, archived |
Headers | show |
Series | Add DT support for generic ADC battery | expand |
On Thu, Mar 9, 2023 at 11:50 PM Sebastian Reichel <sre@kernel.org> wrote: > jz4740-battery.c and s3c_adc_battery.c have been removed > from the tree and after all of my restructuring the driver > is basically no longer based on them. > > Thus update the copyright information and switch to SPDX > license identifier while being at it. > > Signed-off-by: Sebastian Reichel <sre@kernel.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Yours, Linus Walleij
On 3/10/23 00:50, Sebastian Reichel wrote: > jz4740-battery.c and s3c_adc_battery.c have been removed > from the tree and after all of my restructuring the driver > is basically no longer based on them. > > Thus update the copyright information and switch to SPDX > license identifier while being at it. > > Signed-off-by: Sebastian Reichel <sre@kernel.org> Reviewed-by: Matti Vaittinen <mazziesaccount@gmail.com> > --- > drivers/power/supply/generic-adc-battery.c | 11 +++-------- > 1 file changed, 3 insertions(+), 8 deletions(-) > > diff --git a/drivers/power/supply/generic-adc-battery.c b/drivers/power/supply/generic-adc-battery.c > index 436e75d226ed..ac72140dc136 100644 > --- a/drivers/power/supply/generic-adc-battery.c > +++ b/drivers/power/supply/generic-adc-battery.c > @@ -1,13 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0 > /* > - * Generic battery driver code using IIO > + * Generic battery driver using IIO > * Copyright (C) 2012, Anish Kumar <anish198519851985@gmail.com> > - * based on jz4740-battery.c > - * based on s3c_adc_battery.c > - * > - * This file is subject to the terms and conditions of the GNU General Public > - * License. See the file COPYING in the main directory of this archive for > - * more details. > - * > + * Copyright (c) 2023, Sebastian Reichel <sre@kernel.org> > */ > #include <linux/interrupt.h> > #include <linux/platform_device.h>
diff --git a/drivers/power/supply/generic-adc-battery.c b/drivers/power/supply/generic-adc-battery.c index 436e75d226ed..ac72140dc136 100644 --- a/drivers/power/supply/generic-adc-battery.c +++ b/drivers/power/supply/generic-adc-battery.c @@ -1,13 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* - * Generic battery driver code using IIO + * Generic battery driver using IIO * Copyright (C) 2012, Anish Kumar <anish198519851985@gmail.com> - * based on jz4740-battery.c - * based on s3c_adc_battery.c - * - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file COPYING in the main directory of this archive for - * more details. - * + * Copyright (c) 2023, Sebastian Reichel <sre@kernel.org> */ #include <linux/interrupt.h> #include <linux/platform_device.h>
jz4740-battery.c and s3c_adc_battery.c have been removed from the tree and after all of my restructuring the driver is basically no longer based on them. Thus update the copyright information and switch to SPDX license identifier while being at it. Signed-off-by: Sebastian Reichel <sre@kernel.org> --- drivers/power/supply/generic-adc-battery.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-)