Skip to content

Commit fd2f02f

Browse files
AxelLinbroonie
authored andcommitted
regulator: da9xxx: Switch to SPDX identifier
Convert Dialog Semiconductor DA9xxx regulator drivers to SPDX identifier. Signed-off-by: Axel Lin <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent 311a68a commit fd2f02f

File tree

8 files changed

+36
-110
lines changed

8 files changed

+36
-110
lines changed

drivers/regulator/da903x.c

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
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.
117

128
#include <linux/kernel.h>
139
#include <linux/init.h>

drivers/regulator/da9052-regulator.c

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,10 @@
1-
/*
2-
* da9052-regulator.c: Regulator driver for DA9052
3-
*
4-
* Copyright(c) 2011 Dialog Semiconductor Ltd.
5-
*
6-
* Author: David Dajun Chen <[email protected]>
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 <[email protected]>
148

159
#include <linux/module.h>
1610
#include <linux/moduleparam.h>

drivers/regulator/da9055-regulator.c

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,10 @@
1-
/*
2-
* Regulator driver for DA9055 PMIC
3-
*
4-
* Copyright(c) 2012 Dialog Semiconductor Ltd.
5-
*
6-
* Author: David Dajun Chen <[email protected]>
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 <[email protected]>
148

159
#include <linux/module.h>
1610
#include <linux/init.h>

drivers/regulator/da9062-regulator.c

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,8 @@
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+
156
#include <linux/kernel.h>
167
#include <linux/module.h>
178
#include <linux/init.h>

drivers/regulator/da9210-regulator.c

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,7 @@
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.
205

216
#include <linux/err.h>
227
#include <linux/i2c.h>

drivers/regulator/da9210-regulator.h

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,7 @@
1-
1+
/* SPDX-License-Identifier: GPL-2.0+ */
22
/*
33
* da9210-regulator.h - Regulator definitions for DA9210
44
* 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.
205
*/
216

227
#ifndef __DA9210_REGISTERS_H__

drivers/regulator/da9211-regulator.c

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,8 @@
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.
166

177
#include <linux/err.h>
188
#include <linux/i2c.h>

drivers/regulator/da9211-regulator.h

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,8 @@
1+
/* SPDX-License-Identifier: GPL-2.0+ */
12
/*
23
* da9211-regulator.h - Regulator definitions for DA9211/DA9212
34
* /DA9213/DA9223/DA9214/DA9224/DA9215/DA9225
45
* 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.
156
*/
167

178
#ifndef __DA9211_REGISTERS_H__

0 commit comments

Comments
 (0)