Skip to content

Commit 37613fa

Browse files
gregkhbroonie
authored andcommitted
regmap: add proper SPDX identifiers on files that did not have them.
There were a few files in the regmap code that did not have SPDX identifiers on them, so fix that up. At the same time, remove the "free form" text that specified the license of the file, as that is impossible for any tool to properly parse. Also, as Mark loves // comment markers, convert all of the headers to be the same to make things look consistent :) Signed-off-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent 8b9f9d4 commit 37613fa

14 files changed

+90
-166
lines changed

drivers/base/regmap/internal.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
1+
/* SPDX-License-Identifier: GPL-2.0 */
12
/*
23
* Register map access API internal header
34
*
45
* Copyright 2011 Wolfson Microelectronics plc
56
*
67
* Author: Mark Brown <[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 version 2 as
10-
* published by the Free Software Foundation.
118
*/
129

1310
#ifndef _REGMAP_INTERNAL_H

drivers/base/regmap/regcache-flat.c

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
1-
/*
2-
* Register cache access API - flat caching support
3-
*
4-
* Copyright 2012 Wolfson Microelectronics plc
5-
*
6-
* Author: Mark Brown <[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 version 2 as
10-
* published by the Free Software Foundation.
11-
*/
1+
// SPDX-License-Identifier: GPL-2.0
2+
//
3+
// Register cache access API - flat caching support
4+
//
5+
// Copyright 2012 Wolfson Microelectronics plc
6+
//
7+
// Author: Mark Brown <[email protected]>
128

139
#include <linux/device.h>
1410
#include <linux/seq_file.h>

drivers/base/regmap/regcache-lzo.c

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
1-
/*
2-
* Register cache access API - LZO caching support
3-
*
4-
* Copyright 2011 Wolfson Microelectronics plc
5-
*
6-
* Author: Dimitris Papastamos <[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 version 2 as
10-
* published by the Free Software Foundation.
11-
*/
1+
// SPDX-License-Identifier: GPL-2.0
2+
//
3+
// Register cache access API - LZO caching support
4+
//
5+
// Copyright 2011 Wolfson Microelectronics plc
6+
//
7+
// Author: Dimitris Papastamos <[email protected]>
128

139
#include <linux/device.h>
1410
#include <linux/lzo.h>

drivers/base/regmap/regcache-rbtree.c

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
1-
/*
2-
* Register cache access API - rbtree caching support
3-
*
4-
* Copyright 2011 Wolfson Microelectronics plc
5-
*
6-
* Author: Dimitris Papastamos <[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 version 2 as
10-
* published by the Free Software Foundation.
11-
*/
1+
// SPDX-License-Identifier: GPL-2.0
2+
//
3+
// Register cache access API - rbtree caching support
4+
//
5+
// Copyright 2011 Wolfson Microelectronics plc
6+
//
7+
// Author: Dimitris Papastamos <[email protected]>
128

139
#include <linux/debugfs.h>
1410
#include <linux/device.h>

drivers/base/regmap/regcache.c

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
1-
/*
2-
* Register cache access API
3-
*
4-
* Copyright 2011 Wolfson Microelectronics plc
5-
*
6-
* Author: Dimitris Papastamos <[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 version 2 as
10-
* published by the Free Software Foundation.
11-
*/
1+
// SPDX-License-Identifier: GPL-2.0
2+
//
3+
// Register cache access API
4+
//
5+
// Copyright 2011 Wolfson Microelectronics plc
6+
//
7+
// Author: Dimitris Papastamos <[email protected]>
128

139
#include <linux/bsearch.h>
1410
#include <linux/device.h>

drivers/base/regmap/regmap-ac97.c

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,8 @@
1-
/*
2-
* Register map access API - AC'97 support
3-
*
4-
* Copyright 2013 Linaro Ltd. All rights reserved.
5-
*
6-
* This program is free software; you can redistribute it and/or modify it
7-
* under the terms and conditions of the GNU General Public License,
8-
* version 2, as published by the Free Software Foundation.
9-
*
10-
* This program is distributed in the hope it will be useful, but WITHOUT
11-
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12-
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13-
* more details.
14-
*
15-
* You should have received a copy of the GNU General Public License
16-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
17-
*/
1+
// SPDX-License-Identifier: GPL-2.0
2+
//
3+
// Register map access API - AC'97 support
4+
//
5+
// Copyright 2013 Linaro Ltd. All rights reserved.
186

197
#include <linux/clk.h>
208
#include <linux/err.h>

drivers/base/regmap/regmap-debugfs.c

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
1-
/*
2-
* Register map access API - debugfs
3-
*
4-
* Copyright 2011 Wolfson Microelectronics plc
5-
*
6-
* Author: Mark Brown <[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 version 2 as
10-
* published by the Free Software Foundation.
11-
*/
1+
// SPDX-License-Identifier: GPL-2.0
2+
//
3+
// Register map access API - debugfs
4+
//
5+
// Copyright 2011 Wolfson Microelectronics plc
6+
//
7+
// Author: Mark Brown <[email protected]>
128

139
#include <linux/slab.h>
1410
#include <linux/mutex.h>

drivers/base/regmap/regmap-i2c.c

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
1-
/*
2-
* Register map access API - I2C support
3-
*
4-
* Copyright 2011 Wolfson Microelectronics plc
5-
*
6-
* Author: Mark Brown <[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 version 2 as
10-
* published by the Free Software Foundation.
11-
*/
1+
// SPDX-License-Identifier: GPL-2.0
2+
//
3+
// Register map access API - I2C support
4+
//
5+
// Copyright 2011 Wolfson Microelectronics plc
6+
//
7+
// Author: Mark Brown <[email protected]>
128

139
#include <linux/regmap.h>
1410
#include <linux/i2c.h>

drivers/base/regmap/regmap-irq.c

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
1-
/*
2-
* regmap based irq_chip
3-
*
4-
* Copyright 2011 Wolfson Microelectronics plc
5-
*
6-
* Author: Mark Brown <[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 version 2 as
10-
* published by the Free Software Foundation.
11-
*/
1+
// SPDX-License-Identifier: GPL-2.0
2+
//
3+
// regmap based irq_chip
4+
//
5+
// Copyright 2011 Wolfson Microelectronics plc
6+
//
7+
// Author: Mark Brown <[email protected]>
128

139
#include <linux/device.h>
1410
#include <linux/export.h>

drivers/base/regmap/regmap-mmio.c

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,8 @@
1-
/*
2-
* Register map access API - MMIO support
3-
*
4-
* Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved.
5-
*
6-
* This program is free software; you can redistribute it and/or modify it
7-
* under the terms and conditions of the GNU General Public License,
8-
* version 2, as published by the Free Software Foundation.
9-
*
10-
* This program is distributed in the hope it will be useful, but WITHOUT
11-
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12-
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13-
* more details.
14-
*
15-
* You should have received a copy of the GNU General Public License
16-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
17-
*/
1+
// SPDX-License-Identifier: GPL-2.0
2+
//
3+
// Register map access API - MMIO support
4+
//
5+
// Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved.
186

197
#include <linux/clk.h>
208
#include <linux/err.h>

0 commit comments

Comments
 (0)