power: supply: maxim: Add SPDX license identifiers
Subsystems (4)
Krzysztof Kozlowski
maintainerPATCH 1/1 power: supply: maxim: Add SPDX license identifiers
Replace GPL v2.0 and v2.0+ license statements with SPDX license identifiers.
Signed-off-by Krzysztof Kozlowski <[email protected]>
--- 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(-)
drivers/power/supply/max14577_charger.c +6 -16
@@ -1,19 +1,9 @@ -/* -* max14577_charger.c - Battery charger driver for the Maxim 14577/77836 -* -* Copyright (C) 2013,2014 Samsung Electronics -* Krzysztof Kozlowski <[email protected]> -* -* 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 <[email protected]> #include <linux/module.h> #include <linux/platform_device.h>
drivers/power/supply/max17040_battery.c +7 -11
@@ -1,14 +1,10 @@ -/* -* max17040_battery.c -* fuel-gauge systems for lithium-ion (Li+) batteries -* -* Copyright (C) 2009 Samsung Electronics -* Minkyu Kang <[email protected]> -* -* 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 <[email protected]> #include <linux/module.h> #include <linux/init.h>
drivers/power/supply/max17042_battery.c +9 -23
@@ -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 <[email protected]> -* -* 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 <[email protected]> +// +// This driver is based on max17040_battery.c #include <linux/acpi.h> #include <linux/init.h>
drivers/power/supply/max77693_charger.c +6 -16
@@ -1,19 +1,9 @@ -/* -* max77693_charger.c - Battery charger driver for the Maxim 77693 -* -* Copyright (C) 2014 Samsung Electronics -* Krzysztof Kozlowski <[email protected]> -* -* 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 <[email protected]> #include <linux/module.h> #include <linux/platform_device.h>
drivers/power/supply/max8997_charger.c +6 -20
@@ -1,23 +1,9 @@ -/* -* max8997_charger.c - Power supply consumer driver for the Maxim 8997/8966 -* -* Copyright (C) 2011 Samsung Electronics -* MyungJoo Ham <[email protected]> -* -* 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 <[email protected]> #include <linux/err.h> #include <linux/module.h>
drivers/power/supply/max8998_charger.c +6 -20
@@ -1,23 +1,9 @@ -/* -* max8998_charger.c - Power supply consumer driver for the Maxim 8998/LP3974 -* -* Copyright (C) 2009-2010 Samsung Electronics -* MyungJoo Ham <[email protected]> -* -* 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 <[email protected]> #include <linux/err.h> #include <linux/module.h>
Signature · 1 line
2.14.1
Sebastian Reichel
maintainerHi,
Quoted 5 lines · Krzysztof Kozlowski
Replace GPL v2.0 and v2.0+ license statements with SPDX license identifiers.
Signed-off-by Krzysztof Kozlowski <[email protected]>---
Thanks, queued.
-- Sebastian
Quoted 205 lines
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(-)drivers/power/supply/max14577_charger.c +6
-16@@ -1,19 +1,9 @@ -/* -* max14577_charger.c - Battery charger driver for the Maxim 14577/77836 -* -* Copyright (C) 2013,2014 Samsung Electronics -* Krzysztof Kozlowski <[email protected]> -* -* 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 <[email protected]> #include <linux/module.h> #include <linux/platform_device.h> drivers/power/supply/max17040_battery.c +7
-11@@ -1,14 +1,10 @@ -/* -* max17040_battery.c -* fuel-gauge systems for lithium-ion (Li+) batteries -* -* Copyright (C) 2009 Samsung Electronics -* Minkyu Kang <[email protected]> -* -* 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 <[email protected]> #include <linux/module.h> #include <linux/init.h> drivers/power/supply/max17042_battery.c +9
-23@@ -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 <[email protected]> -* -* 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 <[email protected]> +// +// This driver is based on max17040_battery.c #include <linux/acpi.h> #include <linux/init.h> drivers/power/supply/max77693_charger.c +6
-16@@ -1,19 +1,9 @@ -/* -* max77693_charger.c - Battery charger driver for the Maxim 77693 -* -* Copyright (C) 2014 Samsung Electronics -* Krzysztof Kozlowski <[email protected]> -* -* 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 <[email protected]> #include <linux/module.h> #include <linux/platform_device.h> drivers/power/supply/max8997_charger.c +6
-20@@ -1,23 +1,9 @@ -/* -* max8997_charger.c - Power supply consumer driver for the Maxim 8997/8966 -* -* Copyright (C) 2011 Samsung Electronics -* MyungJoo Ham <[email protected]> -* -* 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 <[email protected]> #include <linux/err.h> #include <linux/module.h> drivers/power/supply/max8998_charger.c +6
-20@@ -1,23 +1,9 @@ -/* -* max8998_charger.c - Power supply consumer driver for the Maxim 8998/LP3974 -* -* Copyright (C) 2009-2010 Samsung Electronics -* MyungJoo Ham <[email protected]> -* -* 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 <[email protected]> #include <linux/err.h> #include <linux/module.h> Signature · 1 line
2.14.1