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

regulator: da9xxx: Switch to SPDX identifier

Convert Dialog Semiconductor DA9xxx regulator drivers to SPDX identifier.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Axel Lin and committed by
Mark Brown
fd2f02f9 311a68a5

+36 -110
+6 -10
drivers/regulator/da903x.c
··· 1 - /* 2 - * Regulators driver for Dialog Semiconductor DA903x 3 - * 4 - * Copyright (C) 2006-2008 Marvell International Ltd. 5 - * Copyright (C) 2008 Compulab Ltd. 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 version 2 as 9 - * published by the Free Software Foundation. 10 - */ 1 + // SPDX-License-Identifier: GPL-2.0 2 + // 3 + // Regulators driver for Dialog Semiconductor DA903x 4 + // 5 + // Copyright (C) 2006-2008 Marvell International Ltd. 6 + // Copyright (C) 2008 Compulab Ltd. 11 7 12 8 #include <linux/kernel.h> 13 9 #include <linux/init.h>
+7 -13
drivers/regulator/da9052-regulator.c
··· 1 - /* 2 - * da9052-regulator.c: Regulator driver for DA9052 3 - * 4 - * Copyright(c) 2011 Dialog Semiconductor Ltd. 5 - * 6 - * Author: David Dajun Chen <dchen@diasemi.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 - */ 1 + // SPDX-License-Identifier: GPL-2.0+ 2 + // 3 + // da9052-regulator.c: Regulator driver for DA9052 4 + // 5 + // Copyright(c) 2011 Dialog Semiconductor Ltd. 6 + // 7 + // Author: David Dajun Chen <dchen@diasemi.com> 14 8 15 9 #include <linux/module.h> 16 10 #include <linux/moduleparam.h>
+7 -13
drivers/regulator/da9055-regulator.c
··· 1 - /* 2 - * Regulator driver for DA9055 PMIC 3 - * 4 - * Copyright(c) 2012 Dialog Semiconductor Ltd. 5 - * 6 - * Author: David Dajun Chen <dchen@diasemi.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 - */ 1 + // SPDX-License-Identifier: GPL-2.0+ 2 + // 3 + // Regulator driver for DA9055 PMIC 4 + // 5 + // Copyright(c) 2012 Dialog Semiconductor Ltd. 6 + // 7 + // Author: David Dajun Chen <dchen@diasemi.com> 14 8 15 9 #include <linux/module.h> 16 10 #include <linux/init.h>
+5 -14
drivers/regulator/da9062-regulator.c
··· 1 - /* 2 - * Regulator device driver for DA9061 and DA9062. 3 - * Copyright (C) 2015-2017 Dialog Semiconductor 4 - * 5 - * This program is free software; you can redistribute it and/or 6 - * modify it under the terms of the GNU General Public License 7 - * as published by the Free Software Foundation; either version 2 8 - * of the License, or (at your option) any later version. 9 - * 10 - * This program is distributed in the hope that it will be useful, 11 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 - * GNU General Public License for more details. 14 - */ 1 + // SPDX-License-Identifier: GPL-2.0+ 2 + // 3 + // Regulator device driver for DA9061 and DA9062. 4 + // Copyright (C) 2015-2017 Dialog Semiconductor 5 + 15 6 #include <linux/kernel.h> 16 7 #include <linux/module.h> 17 8 #include <linux/init.h>
+4 -19
drivers/regulator/da9210-regulator.c
··· 1 - /* 2 - * da9210-regulator.c - Regulator device driver for DA9210 3 - * Copyright (C) 2013 Dialog Semiconductor Ltd. 4 - * 5 - * This library is free software; you can redistribute it and/or 6 - * modify it under the terms of the GNU Library General Public 7 - * License as published by the Free Software Foundation; either 8 - * version 2 of the License, or (at your option) any later version. 9 - * 10 - * This library is distributed in the hope that it will be useful, 11 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 - * Library General Public License for more details. 14 - * 15 - * You should have received a copy of the GNU Library General Public 16 - * License along with this library; if not, write to the 17 - * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, 18 - * Boston, MA 02110-1301, USA. 19 - */ 1 + // SPDX-License-Identifier: GPL-2.0+ 2 + // 3 + // da9210-regulator.c - Regulator device driver for DA9210 4 + // Copyright (C) 2013 Dialog Semiconductor Ltd. 20 5 21 6 #include <linux/err.h> 22 7 #include <linux/i2c.h>
+1 -16
drivers/regulator/da9210-regulator.h
··· 1 - 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 2 2 /* 3 3 * da9210-regulator.h - Regulator definitions for DA9210 4 4 * Copyright (C) 2013 Dialog Semiconductor Ltd. 5 - * 6 - * This library is free software; you can redistribute it and/or 7 - * modify it under the terms of the GNU Library General Public 8 - * License as published by the Free Software Foundation; either 9 - * version 2 of the License, or (at your option) any later version. 10 - * 11 - * This library is distributed in the hope that it will be useful, 12 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 - * Library General Public License for more details. 15 - * 16 - * You should have received a copy of the GNU Library General Public 17 - * License along with this library; if not, write to the 18 - * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, 19 - * Boston, MA 02110-1301, USA. 20 5 */ 21 6 22 7 #ifndef __DA9210_REGISTERS_H__
+5 -15
drivers/regulator/da9211-regulator.c
··· 1 - /* 2 - * da9211-regulator.c - Regulator device driver for DA9211/DA9212 3 - * /DA9213/DA9223/DA9214/DA9224/DA9215/DA9225 4 - * Copyright (C) 2015 Dialog Semiconductor Ltd. 5 - * 6 - * This library is free software; you can redistribute it and/or 7 - * modify it under the terms of the GNU Library General Public 8 - * License as published by the Free Software Foundation; either 9 - * version 2 of the License, or (at your option) any later version. 10 - * 11 - * This library is distributed in the hope that it will be useful, 12 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 - * Library General Public License for more details. 15 - */ 1 + // SPDX-License-Identifier: GPL-2.0+ 2 + // 3 + // da9211-regulator.c - Regulator device driver for DA9211/DA9212 4 + // /DA9213/DA9223/DA9214/DA9224/DA9215/DA9225 5 + // Copyright (C) 2015 Dialog Semiconductor Ltd. 16 6 17 7 #include <linux/err.h> 18 8 #include <linux/i2c.h>
+1 -10
drivers/regulator/da9211-regulator.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 1 2 /* 2 3 * da9211-regulator.h - Regulator definitions for DA9211/DA9212 3 4 * /DA9213/DA9223/DA9214/DA9224/DA9215/DA9225 4 5 * Copyright (C) 2015 Dialog Semiconductor Ltd. 5 - * 6 - * This program is free software; you can redistribute it and/or 7 - * modify it under the terms of the GNU General Public License 8 - * as published by the Free Software Foundation; either version 2 9 - * of the License, or (at your option) any later version. 10 - * 11 - * This program is distributed in the hope that it will be useful, 12 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 - * GNU General Public License for more details. 15 6 */ 16 7 17 8 #ifndef __DA9211_REGISTERS_H__