Skip to content

Commit d7d8d7a

Browse files
krzkLee Jones
authored andcommitted
mfd: maxim: Add SPDX license identifiers
Replace GPL v2.0+ license statements with SPDX license identifiers. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
1 parent 39b27ad commit d7d8d7a

20 files changed

Lines changed: 76 additions & 297 deletions

‎drivers/mfd/max14577.c‎

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,12 @@
1-
/*
2-
* max14577.c - mfd core driver for the Maxim 14577/77836
3-
*
4-
* Copyright (C) 2014 Samsung Electronics
5-
* Chanwoo Choi <cw00.choi@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-
* This driver is based on max8997.c
19-
*/
1+
// SPDX-License-Identifier: GPL-2.0+
2+
//
3+
// max14577.c - mfd core driver for the Maxim 14577/77836
4+
//
5+
// Copyright (C) 2014 Samsung Electronics
6+
// Chanwoo Choi <cw00.choi@samsung.com>
7+
// Krzysztof Kozlowski <krzk@kernel.org>
8+
//
9+
// This driver is based on max8997.c
2010

2111
#include <linux/err.h>
2212
#include <linux/module.h>

‎drivers/mfd/max77686.c‎

Lines changed: 9 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,12 @@
1-
/*
2-
* max77686.c - mfd core driver for the Maxim 77686/802
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 - mfd core driver for the Maxim 77686/802
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
2410

2511
#include <linux/export.h>
2612
#include <linux/slab.h>

‎drivers/mfd/max77693.c‎

Lines changed: 10 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,13 @@
1-
/*
2-
* max77693.c - mfd core driver for the MAX 77693
3-
*
4-
* Copyright (C) 2012 Samsung Electronics
5-
* SangYoung Son <hello.son@samsung.com>
6-
*
7-
* This program is not provided / owned by Maxim Integrated Products.
8-
*
9-
* This program is free software; you can redistribute it and/or modify
10-
* it under the terms of the GNU General Public License as published by
11-
* the Free Software Foundation; either version 2 of the License, or
12-
* (at your option) any later version.
13-
*
14-
* This program is distributed in the hope that it will be useful,
15-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17-
* GNU General Public License for more details.
18-
*
19-
* You should have received a copy of the GNU General Public License
20-
* along with this program; if not, write to the Free Software
21-
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22-
*
23-
* This driver is based on max8997.c
24-
*/
1+
// SPDX-License-Identifier: GPL-2.0+
2+
//
3+
// max77693.c - mfd core driver for the MAX 77693
4+
//
5+
// Copyright (C) 2012 Samsung Electronics
6+
// SangYoung Son <hello.son@samsung.com>
7+
//
8+
// This program is not provided / owned by Maxim Integrated Products.
9+
//
10+
// This driver is based on max8997.c
2511

2612
#include <linux/module.h>
2713
#include <linux/slab.h>

‎drivers/mfd/max77843.c‎

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
1-
/*
2-
* MFD core driver for the Maxim MAX77843
3-
*
4-
* Copyright (C) 2015 Samsung Electronics
5-
* Author: Jaewon Kim <jaewon02.kim@samsung.com>
6-
* Author: Beomho Seo <beomho.seo@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-
*/
1+
// SPDX-License-Identifier: GPL-2.0+
2+
//
3+
// MFD core driver for the Maxim MAX77843
4+
//
5+
// Copyright (C) 2015 Samsung Electronics
6+
// Author: Jaewon Kim <jaewon02.kim@samsung.com>
7+
// Author: Beomho Seo <beomho.seo@samsung.com>
138

149
#include <linux/err.h>
1510
#include <linux/i2c.h>

‎drivers/mfd/max8997-irq.c‎

Lines changed: 8 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,11 @@
1-
/*
2-
* max8997-irq.c - Interrupt controller support for MAX8997
3-
*
4-
* Copyright (C) 2011 Samsung Electronics Co.Ltd
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-irq.c
22-
*/
1+
// SPDX-License-Identifier: GPL-2.0+
2+
//
3+
// max8997-irq.c - Interrupt controller support for MAX8997
4+
//
5+
// Copyright (C) 2011 Samsung Electronics Co.Ltd
6+
// MyungJoo Ham <myungjoo.ham@samsung.com>
7+
//
8+
// This driver is based on max8998-irq.c
239

2410
#include <linux/err.h>
2511
#include <linux/irq.h>

‎drivers/mfd/max8997.c‎

Lines changed: 8 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,11 @@
1-
/*
2-
* max8997.c - mfd core driver for the Maxim 8966 and 8997
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 - mfd core driver for the Maxim 8966 and 8997
4+
//
5+
// Copyright (C) 2011 Samsung Electronics
6+
// MyungJoo Ham <myungjoo.ham@samsung.com>
7+
//
8+
// This driver is based on max8998.c
239

2410
#include <linux/err.h>
2511
#include <linux/slab.h>

‎drivers/mfd/max8998-irq.c‎

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
1-
/*
2-
* Interrupt controller support for MAX8998
3-
*
4-
* Copyright (C) 2010 Samsung Electronics Co.Ltd
5-
* Author: Joonyoung Shim <jy0922.shim@samsung.com>
6-
*
7-
* This program is free software; you can redistribute it and/or modify it
8-
* under the terms of the GNU General Public License as published by the
9-
* Free Software Foundation; either version 2 of the License, or (at your
10-
* option) any later version.
11-
*
12-
*/
1+
// SPDX-License-Identifier: GPL-2.0+
2+
//
3+
// Interrupt controller support for MAX8998
4+
//
5+
// Copyright (C) 2010 Samsung Electronics Co.Ltd
6+
// Author: Joonyoung Shim <jy0922.shim@samsung.com>
137

148
#include <linux/device.h>
159
#include <linux/interrupt.h>

‎drivers/mfd/max8998.c‎

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,10 @@
1-
/*
2-
* max8998.c - mfd core 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 - mfd core 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>
228

239
#include <linux/err.h>
2410
#include <linux/init.h>

‎include/linux/mfd/max14577-private.h‎

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,10 @@
1+
/* SPDX-License-Identifier: GPL-2.0+ */
12
/*
23
* max14577-private.h - Common API for the Maxim 14577/77836 internal sub chip
34
*
45
* Copyright (C) 2014 Samsung Electrnoics
56
* Chanwoo Choi <cw00.choi@samsung.com>
67
* 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.
178
*/
189

1910
#ifndef __MAX14577_PRIVATE_H__

‎include/linux/mfd/max14577.h‎

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,11 @@
1+
/* SPDX-License-Identifier: GPL-2.0+ */
12
/*
23
* max14577.h - Driver for the Maxim 14577/77836
34
*
45
* Copyright (C) 2014 Samsung Electrnoics
56
* Chanwoo Choi <cw00.choi@samsung.com>
67
* Krzysztof Kozlowski <krzk@kernel.org>
78
*
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-
*
189
* This driver is based on max8997.h
1910
*
2011
* MAX14577 has MUIC, Charger devices.

0 commit comments

Comments
 (0)