From: Sebastian Reichel <sre@kernel.org>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>,
linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] power: supply: maxim: Add SPDX license identifiers
Date: Thu, 30 Aug 2018 00:32:55 +0200 [thread overview]
Message-ID: <20180829223255.nshvzapgtbd7ucrv@earth.universe> (raw)
In-Reply-To: <20180807162106.18282-1-krzk@kernel.org>
[-- Attachment #1: Type: text/plain, Size: 9098 bytes --]
Hi,
On Tue, Aug 07, 2018 at 06:21:06PM +0200, Krzysztof Kozlowski wrote:
> Replace GPL v2.0 and v2.0+ license statements with SPDX license
> identifiers.
>
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
> ---
Thanks, queued.
-- Sebastian
> drivers/power/supply/max14577_charger.c | 22 ++++++----------------
> drivers/power/supply/max17040_battery.c | 18 +++++++-----------
> drivers/power/supply/max17042_battery.c | 32 +++++++++-----------------------
> drivers/power/supply/max77693_charger.c | 22 ++++++----------------
> drivers/power/supply/max8997_charger.c | 26 ++++++--------------------
> drivers/power/supply/max8998_charger.c | 26 ++++++--------------------
> 6 files changed, 40 insertions(+), 106 deletions(-)
>
> diff --git a/drivers/power/supply/max14577_charger.c b/drivers/power/supply/max14577_charger.c
> index 449fc56f09eb..8a59feac6468 100644
> --- a/drivers/power/supply/max14577_charger.c
> +++ b/drivers/power/supply/max14577_charger.c
> @@ -1,19 +1,9 @@
> -/*
> - * max14577_charger.c - Battery charger driver for the Maxim 14577/77836
> - *
> - * Copyright (C) 2013,2014 Samsung Electronics
> - * Krzysztof Kozlowski <krzk@kernel.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - */
> +// SPDX-License-Identifier: GPL-2.0+
> +//
> +// max14577_charger.c - Battery charger driver for the Maxim 14577/77836
> +//
> +// Copyright (C) 2013,2014 Samsung Electronics
> +// Krzysztof Kozlowski <krzk@kernel.org>
>
> #include <linux/module.h>
> #include <linux/platform_device.h>
> diff --git a/drivers/power/supply/max17040_battery.c b/drivers/power/supply/max17040_battery.c
> index 33c40f79d23d..91cafc7bed30 100644
> --- a/drivers/power/supply/max17040_battery.c
> +++ b/drivers/power/supply/max17040_battery.c
> @@ -1,14 +1,10 @@
> -/*
> - * max17040_battery.c
> - * fuel-gauge systems for lithium-ion (Li+) batteries
> - *
> - * Copyright (C) 2009 Samsung Electronics
> - * Minkyu Kang <mk7.kang@samsung.com>
> - *
> - * 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.
> - */
> +// SPDX-License-Identifier: GPL-2.0
> +//
> +// max17040_battery.c
> +// fuel-gauge systems for lithium-ion (Li+) batteries
> +//
> +// Copyright (C) 2009 Samsung Electronics
> +// Minkyu Kang <mk7.kang@samsung.com>
>
> #include <linux/module.h>
> #include <linux/init.h>
> diff --git a/drivers/power/supply/max17042_battery.c b/drivers/power/supply/max17042_battery.c
> index 1a568df383db..2a8d75e5e930 100644
> --- a/drivers/power/supply/max17042_battery.c
> +++ b/drivers/power/supply/max17042_battery.c
> @@ -1,26 +1,12 @@
> -/*
> - * Fuel gauge driver for Maxim 17042 / 8966 / 8997
> - * Note that Maxim 8966 and 8997 are mfd and this is its subdevice.
> - *
> - * Copyright (C) 2011 Samsung Electronics
> - * MyungJoo Ham <myungjoo.ham@samsung.com>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> - *
> - * This driver is based on max17040_battery.c
> - */
> +// SPDX-License-Identifier: GPL-2.0+
> +//
> +// Fuel gauge driver for Maxim 17042 / 8966 / 8997
> +// Note that Maxim 8966 and 8997 are mfd and this is its subdevice.
> +//
> +// Copyright (C) 2011 Samsung Electronics
> +// MyungJoo Ham <myungjoo.ham@samsung.com>
> +//
> +// This driver is based on max17040_battery.c
>
> #include <linux/acpi.h>
> #include <linux/init.h>
> diff --git a/drivers/power/supply/max77693_charger.c b/drivers/power/supply/max77693_charger.c
> index 6c78884bad5e..b4cc5b807d53 100644
> --- a/drivers/power/supply/max77693_charger.c
> +++ b/drivers/power/supply/max77693_charger.c
> @@ -1,19 +1,9 @@
> -/*
> - * max77693_charger.c - Battery charger driver for the Maxim 77693
> - *
> - * Copyright (C) 2014 Samsung Electronics
> - * Krzysztof Kozlowski <krzk@kernel.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - */
> +// SPDX-License-Identifier: GPL-2.0+
> +//
> +// max77693_charger.c - Battery charger driver for the Maxim 77693
> +//
> +// Copyright (C) 2014 Samsung Electronics
> +// Krzysztof Kozlowski <krzk@kernel.org>
>
> #include <linux/module.h>
> #include <linux/platform_device.h>
> diff --git a/drivers/power/supply/max8997_charger.c b/drivers/power/supply/max8997_charger.c
> index c73fb4221695..f5e84cd47924 100644
> --- a/drivers/power/supply/max8997_charger.c
> +++ b/drivers/power/supply/max8997_charger.c
> @@ -1,23 +1,9 @@
> -/*
> - * max8997_charger.c - Power supply consumer driver for the Maxim 8997/8966
> - *
> - * Copyright (C) 2011 Samsung Electronics
> - * MyungJoo Ham <myungjoo.ham@samsung.com>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> - */
> +// SPDX-License-Identifier: GPL-2.0+
> +//
> +// max8997_charger.c - Power supply consumer driver for the Maxim 8997/8966
> +//
> +// Copyright (C) 2011 Samsung Electronics
> +// MyungJoo Ham <myungjoo.ham@samsung.com>
>
> #include <linux/err.h>
> #include <linux/module.h>
> diff --git a/drivers/power/supply/max8998_charger.c b/drivers/power/supply/max8998_charger.c
> index cad7d1a8feec..95292381c3de 100644
> --- a/drivers/power/supply/max8998_charger.c
> +++ b/drivers/power/supply/max8998_charger.c
> @@ -1,23 +1,9 @@
> -/*
> - * max8998_charger.c - Power supply consumer driver for the Maxim 8998/LP3974
> - *
> - * Copyright (C) 2009-2010 Samsung Electronics
> - * MyungJoo Ham <myungjoo.ham@samsung.com>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> - */
> +// SPDX-License-Identifier: GPL-2.0+
> +//
> +// max8998_charger.c - Power supply consumer driver for the Maxim 8998/LP3974
> +//
> +// Copyright (C) 2009-2010 Samsung Electronics
> +// MyungJoo Ham <myungjoo.ham@samsung.com>
>
> #include <linux/err.h>
> #include <linux/module.h>
> --
> 2.14.1
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
prev parent reply other threads:[~2018-08-29 22:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-07 16:21 [PATCH] power: supply: maxim: Add SPDX license identifiers Krzysztof Kozlowski
2018-08-29 22:32 ` Sebastian Reichel [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180829223255.nshvzapgtbd7ucrv@earth.universe \
--to=sre@kernel.org \
--cc=b.zolnierkie@samsung.com \
--cc=krzk@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).