Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <krzk@kernel.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>

authored by

Krzysztof Kozlowski and committed by
Sebastian Reichel
7b38ebdf b00b04aa

+40 -106
+6 -16
drivers/power/supply/max14577_charger.c
··· 1 - /* 2 - * max14577_charger.c - Battery charger driver for the Maxim 14577/77836 3 - * 4 - * Copyright (C) 2013,2014 Samsung Electronics 5 - * Krzysztof Kozlowski <krzk@kernel.org> 6 - * 7 - * This program is free software; you can redistribute it and/or modify 8 - * it under the terms of the GNU General Public License as published by 9 - * the Free Software Foundation; either version 2 of the License, or 10 - * (at your option) any later version. 11 - * 12 - * This program is distributed in the hope that it will be useful, 13 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 - * GNU General Public License for more details. 16 - */ 1 + // SPDX-License-Identifier: GPL-2.0+ 2 + // 3 + // max14577_charger.c - Battery charger driver for the Maxim 14577/77836 4 + // 5 + // Copyright (C) 2013,2014 Samsung Electronics 6 + // Krzysztof Kozlowski <krzk@kernel.org> 17 7 18 8 #include <linux/module.h> 19 9 #include <linux/platform_device.h>
+7 -11
drivers/power/supply/max17040_battery.c
··· 1 - /* 2 - * max17040_battery.c 3 - * fuel-gauge systems for lithium-ion (Li+) batteries 4 - * 5 - * Copyright (C) 2009 Samsung Electronics 6 - * Minkyu Kang <mk7.kang@samsung.com> 7 - * 8 - * This program is free software; you can redistribute it and/or modify 9 - * it under the terms of the GNU General Public License version 2 as 10 - * published by the Free Software Foundation. 11 - */ 1 + // SPDX-License-Identifier: GPL-2.0 2 + // 3 + // max17040_battery.c 4 + // fuel-gauge systems for lithium-ion (Li+) batteries 5 + // 6 + // Copyright (C) 2009 Samsung Electronics 7 + // Minkyu Kang <mk7.kang@samsung.com> 12 8 13 9 #include <linux/module.h> 14 10 #include <linux/init.h>
+9 -23
drivers/power/supply/max17042_battery.c
··· 1 - /* 2 - * Fuel gauge driver for Maxim 17042 / 8966 / 8997 3 - * Note that Maxim 8966 and 8997 are mfd and this is its subdevice. 4 - * 5 - * Copyright (C) 2011 Samsung Electronics 6 - * MyungJoo Ham <myungjoo.ham@samsung.com> 7 - * 8 - * This program is free software; you can redistribute it and/or modify 9 - * it under the terms of the GNU General Public License as published by 10 - * the Free Software Foundation; either version 2 of the License, or 11 - * (at your option) any later version. 12 - * 13 - * This program is distributed in the hope that it will be useful, 14 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 - * GNU General Public License for more details. 17 - * 18 - * You should have received a copy of the GNU General Public License 19 - * along with this program; if not, write to the Free Software 20 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 - * 22 - * This driver is based on max17040_battery.c 23 - */ 1 + // SPDX-License-Identifier: GPL-2.0+ 2 + // 3 + // Fuel gauge driver for Maxim 17042 / 8966 / 8997 4 + // Note that Maxim 8966 and 8997 are mfd and this is its subdevice. 5 + // 6 + // Copyright (C) 2011 Samsung Electronics 7 + // MyungJoo Ham <myungjoo.ham@samsung.com> 8 + // 9 + // This driver is based on max17040_battery.c 24 10 25 11 #include <linux/acpi.h> 26 12 #include <linux/init.h>
+6 -16
drivers/power/supply/max77693_charger.c
··· 1 - /* 2 - * max77693_charger.c - Battery charger driver for the Maxim 77693 3 - * 4 - * Copyright (C) 2014 Samsung Electronics 5 - * Krzysztof Kozlowski <krzk@kernel.org> 6 - * 7 - * This program is free software; you can redistribute it and/or modify 8 - * it under the terms of the GNU General Public License as published by 9 - * the Free Software Foundation; either version 2 of the License, or 10 - * (at your option) any later version. 11 - * 12 - * This program is distributed in the hope that it will be useful, 13 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 - * GNU General Public License for more details. 16 - */ 1 + // SPDX-License-Identifier: GPL-2.0+ 2 + // 3 + // max77693_charger.c - Battery charger driver for the Maxim 77693 4 + // 5 + // Copyright (C) 2014 Samsung Electronics 6 + // Krzysztof Kozlowski <krzk@kernel.org> 17 7 18 8 #include <linux/module.h> 19 9 #include <linux/platform_device.h>
+6 -20
drivers/power/supply/max8997_charger.c
··· 1 - /* 2 - * max8997_charger.c - Power supply consumer driver for the Maxim 8997/8966 3 - * 4 - * Copyright (C) 2011 Samsung Electronics 5 - * MyungJoo Ham <myungjoo.ham@samsung.com> 6 - * 7 - * This program is free software; you can redistribute it and/or modify 8 - * it under the terms of the GNU General Public License as published by 9 - * the Free Software Foundation; either version 2 of the License, or 10 - * (at your option) any later version. 11 - * 12 - * This program is distributed in the hope that it will be useful, 13 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 - * GNU General Public License for more details. 16 - * 17 - * You should have received a copy of the GNU General Public License 18 - * along with this program; if not, write to the Free Software 19 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 - */ 1 + // SPDX-License-Identifier: GPL-2.0+ 2 + // 3 + // max8997_charger.c - Power supply consumer driver for the Maxim 8997/8966 4 + // 5 + // Copyright (C) 2011 Samsung Electronics 6 + // MyungJoo Ham <myungjoo.ham@samsung.com> 21 7 22 8 #include <linux/err.h> 23 9 #include <linux/module.h>
+6 -20
drivers/power/supply/max8998_charger.c
··· 1 - /* 2 - * max8998_charger.c - Power supply consumer driver for the Maxim 8998/LP3974 3 - * 4 - * Copyright (C) 2009-2010 Samsung Electronics 5 - * MyungJoo Ham <myungjoo.ham@samsung.com> 6 - * 7 - * This program is free software; you can redistribute it and/or modify 8 - * it under the terms of the GNU General Public License as published by 9 - * the Free Software Foundation; either version 2 of the License, or 10 - * (at your option) any later version. 11 - * 12 - * This program is distributed in the hope that it will be useful, 13 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 - * GNU General Public License for more details. 16 - * 17 - * You should have received a copy of the GNU General Public License 18 - * along with this program; if not, write to the Free Software 19 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 - */ 1 + // SPDX-License-Identifier: GPL-2.0+ 2 + // 3 + // max8998_charger.c - Power supply consumer driver for the Maxim 8998/LP3974 4 + // 5 + // Copyright (C) 2009-2010 Samsung Electronics 6 + // MyungJoo Ham <myungjoo.ham@samsung.com> 21 7 22 8 #include <linux/err.h> 23 9 #include <linux/module.h>