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

regulator: 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: Mark Brown <broonie@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Mark Brown
5e9384c7 410e8b4f

+52 -131
+6 -16
drivers/regulator/max14577-regulator.c
··· 1 - /* 2 - * max14577.c - Regulator 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.c - Regulator 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>
+9 -23
drivers/regulator/max77686-regulator.c
··· 1 - /* 2 - * max77686.c - Regulator driver for the Maxim 77686 3 - * 4 - * Copyright (C) 2012 Samsung Electronics 5 - * Chiwoong Byun <woong.byun@samsung.com> 6 - * Jonghwa Lee <jonghwa3.lee@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 max8997.c 23 - */ 1 + // SPDX-License-Identifier: GPL-2.0+ 2 + // 3 + // max77686.c - Regulator driver for the Maxim 77686 4 + // 5 + // Copyright (C) 2012 Samsung Electronics 6 + // Chiwoong Byun <woong.byun@samsung.com> 7 + // Jonghwa Lee <jonghwa3.lee@samsung.com> 8 + // 9 + // This driver is based on max8997.c 24 10 25 11 #include <linux/kernel.h> 26 12 #include <linux/bug.h>
+9 -23
drivers/regulator/max77693-regulator.c
··· 1 - /* 2 - * max77693.c - Regulator driver for the Maxim 77693 and 77843 3 - * 4 - * Copyright (C) 2013-2015 Samsung Electronics 5 - * Jonghwa Lee <jonghwa3.lee@samsung.com> 6 - * Krzysztof Kozlowski <krzk@kernel.org> 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 max77686.c 23 - */ 1 + // SPDX-License-Identifier: GPL-2.0+ 2 + // 3 + // max77693.c - Regulator driver for the Maxim 77693 and 77843 4 + // 5 + // Copyright (C) 2013-2015 Samsung Electronics 6 + // Jonghwa Lee <jonghwa3.lee@samsung.com> 7 + // Krzysztof Kozlowski <krzk@kernel.org> 8 + // 9 + // This driver is based on max77686.c 24 10 25 11 #include <linux/err.h> 26 12 #include <linux/slab.h>
+12 -22
drivers/regulator/max77802-regulator.c
··· 1 - /* 2 - * max77802.c - Regulator driver for the Maxim 77802 3 - * 4 - * Copyright (C) 2013-2014 Google, Inc 5 - * Simon Glass <sjg@chromium.org> 6 - * 7 - * Copyright (C) 2012 Samsung Electronics 8 - * Chiwoong Byun <woong.byun@samsung.com> 9 - * Jonghwa Lee <jonghwa3.lee@samsung.com> 10 - * 11 - * This program is free software; you can redistribute it and/or modify 12 - * it under the terms of the GNU General Public License as published by 13 - * the Free Software Foundation; either version 2 of the License, or 14 - * (at your option) any later version. 15 - * 16 - * This program is distributed in the hope that it will be useful, 17 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 18 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 - * GNU General Public License for more details. 20 - * 21 - * This driver is based on max8997.c 22 - */ 1 + // SPDX-License-Identifier: GPL-2.0+ 2 + // 3 + // max77802.c - Regulator driver for the Maxim 77802 4 + // 5 + // Copyright (C) 2013-2014 Google, Inc 6 + // Simon Glass <sjg@chromium.org> 7 + // 8 + // Copyright (C) 2012 Samsung Electronics 9 + // Chiwoong Byun <woong.byun@samsung.com> 10 + // Jonghwa Lee <jonghwa3.lee@samsung.com> 11 + // 12 + // This driver is based on max8997.c 23 13 24 14 #include <linux/kernel.h> 25 15 #include <linux/bug.h>
+8 -22
drivers/regulator/max8997-regulator.c
··· 1 - /* 2 - * max8997.c - Regulator 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 - * 21 - * This driver is based on max8998.c 22 - */ 1 + // SPDX-License-Identifier: GPL-2.0+ 2 + // 3 + // max8997.c - Regulator driver for the Maxim 8997/8966 4 + // 5 + // Copyright (C) 2011 Samsung Electronics 6 + // MyungJoo Ham <myungjoo.ham@samsung.com> 7 + // 8 + // This driver is based on max8998.c 23 9 24 10 #include <linux/bug.h> 25 11 #include <linux/err.h>
+7 -21
drivers/regulator/max8998.c
··· 1 - /* 2 - * max8998.c - Voltage regulator driver for the Maxim 8998 3 - * 4 - * Copyright (C) 2009-2010 Samsung Electronics 5 - * Kyungmin Park <kyungmin.park@samsung.com> 6 - * Marek Szyprowski <m.szyprowski@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 - */ 1 + // SPDX-License-Identifier: GPL-2.0+ 2 + // 3 + // max8998.c - Voltage regulator driver for the Maxim 8998 4 + // 5 + // Copyright (C) 2009-2010 Samsung Electronics 6 + // Kyungmin Park <kyungmin.park@samsung.com> 7 + // Marek Szyprowski <m.szyprowski@samsung.com> 22 8 23 9 #include <linux/module.h> 24 10 #include <linux/init.h>
+1 -4
include/dt-bindings/regulator/maxim,max77802.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 */ 1 2 /* 2 3 * Copyright (C) 2014 Google, Inc 3 - * 4 - * This program is free software; you can redistribute it and/or modify 5 - * it under the terms of the GNU General Public License version 2 as 6 - * published by the Free Software Foundation. 7 4 * 8 5 * Device Tree binding constants for the Maxim 77802 PMIC regulators 9 6 */