Skip to contentSkip to conversation

regulator: mt63xx: Switch to SPDX identifier

PATCH In review Axel Lin 2 participants 5 messages Apr 21, 2019 – Apr 26, 2019

Subsystems (2)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 regulator: mt63xx: Switch to SPDX identifier

Convert MediaTek mt63xx PMIC drivers to SPDX identifier.

---
 drivers/regulator/mt6311-regulator.c | 17 ++++-------------
 drivers/regulator/mt6311-regulator.h | 10 +---------
 drivers/regulator/mt6323-regulator.c | 12 ++++--------
 drivers/regulator/mt6380-regulator.c | 17 ++++-------------
 drivers/regulator/mt6397-regulator.c | 17 ++++-------------
 5 files changed, 17 insertions(+), 56 deletions(-)
drivers/regulator/mt6311-regulator.c +4 -13
index 01d69f43d2b0..af95449d3590 100644
@@ -1,16 +1,7 @@
-/*
- * Copyright (c) 2015 MediaTek Inc.
- * Author: Henry Chen <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- */
+// SPDX-License-Identifier: GPL-2.0
+//
+// Copyright (c) 2015 MediaTek Inc.
+// Author: Henry Chen <[email protected]>
 
 #include <linux/err.h>
 #include <linux/gpio.h>
drivers/regulator/mt6311-regulator.h +1 -9
index 5218db46a798..4904d6751714 100644
@@ -1,15 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright (c) 2015 MediaTek Inc.
  * Author: Henry Chen <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #ifndef __MT6311_REGULATOR_H__
drivers/regulator/mt6323-regulator.c +4 -8
index 25b002328910..893ea190788a 100644
@@ -1,11 +1,7 @@
-/*
- * Copyright (c) 2016 MediaTek Inc.
- * Author: Chen Zhong <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- */
+// SPDX-License-Identifier: GPL-2.0
+//
+// Copyright (c) 2016 MediaTek Inc.
+// Author: Chen Zhong <[email protected]>
 
 #include <linux/module.h>
 #include <linux/of.h>
drivers/regulator/mt6380-regulator.c +4 -13
index 86bc332df3f2..b6aed090b5e0 100644
@@ -1,16 +1,7 @@
-/*
- * Copyright (c) 2017 MediaTek Inc.
- * Author: Chenglin Xu <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- */
+// SPDX-License-Identifier: GPL-2.0
+//
+// Copyright (c) 2017 MediaTek Inc.
+// Author: Chenglin Xu <[email protected]>
 
 #include <linux/module.h>
 #include <linux/of.h>
drivers/regulator/mt6397-regulator.c +4 -13
index 3e6c8d99ec0f..fd9ed864a0c1 100644
@@ -1,16 +1,7 @@
-/*
- * Copyright (c) 2014 MediaTek Inc.
- * Author: Flora Fu <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- */
+// SPDX-License-Identifier: GPL-2.0
+//
+// Copyright (c) 2014 MediaTek Inc.
+// Author: Flora Fu <[email protected]>
 
 #include <linux/module.h>
 #include <linux/of.h>
Signature · 1 line
2.17.1
maintainer
#1 lore raw

Applied "regulator: mt63xx: Switch to SPDX identifier" to the regulator tree

The patch

regulator: mt63xx: Switch to SPDX identifier

has been applied to the regulator tree at

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.2

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark

From 0e093f82754daca970df3a2614d5a2492ad3f6d9 Mon Sep 17 00:00:00 2001
From: Axel Lin <[email protected]>
Date: Sun, 21 Apr 2019 10:26:56 +0800
Subject: [PATCH] regulator: mt63xx: Switch to SPDX identifier

Convert MediaTek mt63xx PMIC drivers to SPDX identifier.

---
 drivers/regulator/mt6311-regulator.c | 17 ++++-------------
 drivers/regulator/mt6311-regulator.h | 10 +---------
 drivers/regulator/mt6323-regulator.c | 12 ++++--------
 drivers/regulator/mt6380-regulator.c | 17 ++++-------------
 drivers/regulator/mt6397-regulator.c | 17 ++++-------------
 5 files changed, 17 insertions(+), 56 deletions(-)
drivers/regulator/mt6311-regulator.c +4 -13
index 01d69f43d2b0..af95449d3590 100644
@@ -1,16 +1,7 @@
-/*
- * Copyright (c) 2015 MediaTek Inc.
- * Author: Henry Chen <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- */
+// SPDX-License-Identifier: GPL-2.0
+//
+// Copyright (c) 2015 MediaTek Inc.
+// Author: Henry Chen <[email protected]>
 
 #include <linux/err.h>
 #include <linux/gpio.h>
drivers/regulator/mt6311-regulator.h +1 -9
index 5218db46a798..4904d6751714 100644
@@ -1,15 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright (c) 2015 MediaTek Inc.
  * Author: Henry Chen <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #ifndef __MT6311_REGULATOR_H__
drivers/regulator/mt6323-regulator.c +4 -8
index 25b002328910..893ea190788a 100644
@@ -1,11 +1,7 @@
-/*
- * Copyright (c) 2016 MediaTek Inc.
- * Author: Chen Zhong <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- */
+// SPDX-License-Identifier: GPL-2.0
+//
+// Copyright (c) 2016 MediaTek Inc.
+// Author: Chen Zhong <[email protected]>
 
 #include <linux/module.h>
 #include <linux/of.h>
drivers/regulator/mt6380-regulator.c +4 -13
index 86bc332df3f2..b6aed090b5e0 100644
@@ -1,16 +1,7 @@
-/*
- * Copyright (c) 2017 MediaTek Inc.
- * Author: Chenglin Xu <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- */
+// SPDX-License-Identifier: GPL-2.0
+//
+// Copyright (c) 2017 MediaTek Inc.
+// Author: Chenglin Xu <[email protected]>
 
 #include <linux/module.h>
 #include <linux/of.h>
drivers/regulator/mt6397-regulator.c +4 -13
index 3e6c8d99ec0f..fd9ed864a0c1 100644
@@ -1,16 +1,7 @@
-/*
- * Copyright (c) 2014 MediaTek Inc.
- * Author: Flora Fu <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- */
+// SPDX-License-Identifier: GPL-2.0
+//
+// Copyright (c) 2014 MediaTek Inc.
+// Author: Flora Fu <[email protected]>
 
 #include <linux/module.h>
 #include <linux/of.h>
Signature · 1 line
2.20.1
maintainer
#2 lore raw

Applied "regulator: mt63xx: Switch to SPDX identifier" to the regulator tree

In reply to Axel Lin

The patch

regulator: mt63xx: Switch to SPDX identifier

has been applied to the regulator tree at

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.2

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark

From 0e093f82754daca970df3a2614d5a2492ad3f6d9 Mon Sep 17 00:00:00 2001
From: Axel Lin <[email protected]>
Date: Sun, 21 Apr 2019 10:26:56 +0800
Subject: [PATCH] regulator: mt63xx: Switch to SPDX identifier

Convert MediaTek mt63xx PMIC drivers to SPDX identifier.

---
 drivers/regulator/mt6311-regulator.c | 17 ++++-------------
 drivers/regulator/mt6311-regulator.h | 10 +---------
 drivers/regulator/mt6323-regulator.c | 12 ++++--------
 drivers/regulator/mt6380-regulator.c | 17 ++++-------------
 drivers/regulator/mt6397-regulator.c | 17 ++++-------------
 5 files changed, 17 insertions(+), 56 deletions(-)
drivers/regulator/mt6311-regulator.c +4 -13
index 01d69f43d2b0..af95449d3590 100644
@@ -1,16 +1,7 @@
-/*
- * Copyright (c) 2015 MediaTek Inc.
- * Author: Henry Chen <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- */
+// SPDX-License-Identifier: GPL-2.0
+//
+// Copyright (c) 2015 MediaTek Inc.
+// Author: Henry Chen <[email protected]>
 
 #include <linux/err.h>
 #include <linux/gpio.h>
drivers/regulator/mt6311-regulator.h +1 -9
index 5218db46a798..4904d6751714 100644
@@ -1,15 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright (c) 2015 MediaTek Inc.
  * Author: Henry Chen <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #ifndef __MT6311_REGULATOR_H__
drivers/regulator/mt6323-regulator.c +4 -8
index 25b002328910..893ea190788a 100644
@@ -1,11 +1,7 @@
-/*
- * Copyright (c) 2016 MediaTek Inc.
- * Author: Chen Zhong <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- */
+// SPDX-License-Identifier: GPL-2.0
+//
+// Copyright (c) 2016 MediaTek Inc.
+// Author: Chen Zhong <[email protected]>
 
 #include <linux/module.h>
 #include <linux/of.h>
drivers/regulator/mt6380-regulator.c +4 -13
index 86bc332df3f2..b6aed090b5e0 100644
@@ -1,16 +1,7 @@
-/*
- * Copyright (c) 2017 MediaTek Inc.
- * Author: Chenglin Xu <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- */
+// SPDX-License-Identifier: GPL-2.0
+//
+// Copyright (c) 2017 MediaTek Inc.
+// Author: Chenglin Xu <[email protected]>
 
 #include <linux/module.h>
 #include <linux/of.h>
drivers/regulator/mt6397-regulator.c +4 -13
index 3e6c8d99ec0f..fd9ed864a0c1 100644
@@ -1,16 +1,7 @@
-/*
- * Copyright (c) 2014 MediaTek Inc.
- * Author: Flora Fu <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- */
+// SPDX-License-Identifier: GPL-2.0
+//
+// Copyright (c) 2014 MediaTek Inc.
+// Author: Flora Fu <[email protected]>
 
 #include <linux/module.h>
 #include <linux/of.h>
Signature · 1 line
2.20.1
maintainer
#3 lore raw

Applied "regulator: mt63xx: Switch to SPDX identifier" to the regulator tree

In reply to Axel Lin

The patch

regulator: mt63xx: Switch to SPDX identifier

has been applied to the regulator tree at

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.2

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark

From fe669cb95ebb711161c27ba063f08ad20d55e761 Mon Sep 17 00:00:00 2001
From: Axel Lin <[email protected]>
Date: Sun, 21 Apr 2019 10:26:56 +0800
Subject: [PATCH] regulator: mt63xx: Switch to SPDX identifier

Convert MediaTek mt63xx PMIC drivers to SPDX identifier.

---
 drivers/regulator/mt6311-regulator.c | 17 ++++-------------
 drivers/regulator/mt6311-regulator.h | 10 +---------
 drivers/regulator/mt6323-regulator.c | 12 ++++--------
 drivers/regulator/mt6380-regulator.c | 17 ++++-------------
 drivers/regulator/mt6397-regulator.c | 17 ++++-------------
 5 files changed, 17 insertions(+), 56 deletions(-)
drivers/regulator/mt6311-regulator.c +4 -13
index 01d69f43d2b0..af95449d3590 100644
@@ -1,16 +1,7 @@
-/*
- * Copyright (c) 2015 MediaTek Inc.
- * Author: Henry Chen <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- */
+// SPDX-License-Identifier: GPL-2.0
+//
+// Copyright (c) 2015 MediaTek Inc.
+// Author: Henry Chen <[email protected]>
 
 #include <linux/err.h>
 #include <linux/gpio.h>
drivers/regulator/mt6311-regulator.h +1 -9
index 5218db46a798..4904d6751714 100644
@@ -1,15 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright (c) 2015 MediaTek Inc.
  * Author: Henry Chen <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #ifndef __MT6311_REGULATOR_H__
drivers/regulator/mt6323-regulator.c +4 -8
index 25b002328910..893ea190788a 100644
@@ -1,11 +1,7 @@
-/*
- * Copyright (c) 2016 MediaTek Inc.
- * Author: Chen Zhong <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- */
+// SPDX-License-Identifier: GPL-2.0
+//
+// Copyright (c) 2016 MediaTek Inc.
+// Author: Chen Zhong <[email protected]>
 
 #include <linux/module.h>
 #include <linux/of.h>
drivers/regulator/mt6380-regulator.c +4 -13
index 86bc332df3f2..b6aed090b5e0 100644
@@ -1,16 +1,7 @@
-/*
- * Copyright (c) 2017 MediaTek Inc.
- * Author: Chenglin Xu <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- */
+// SPDX-License-Identifier: GPL-2.0
+//
+// Copyright (c) 2017 MediaTek Inc.
+// Author: Chenglin Xu <[email protected]>
 
 #include <linux/module.h>
 #include <linux/of.h>
drivers/regulator/mt6397-regulator.c +4 -13
index 3e6c8d99ec0f..fd9ed864a0c1 100644
@@ -1,16 +1,7 @@
-/*
- * Copyright (c) 2014 MediaTek Inc.
- * Author: Flora Fu <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- */
+// SPDX-License-Identifier: GPL-2.0
+//
+// Copyright (c) 2014 MediaTek Inc.
+// Author: Flora Fu <[email protected]>
 
 #include <linux/module.h>
 #include <linux/of.h>
Signature · 1 line
2.20.1
maintainer
#4 lore raw

Applied "regulator: mt63xx: Switch to SPDX identifier" to the regulator tree

In reply to Axel Lin

The patch

regulator: mt63xx: Switch to SPDX identifier

has been applied to the regulator tree at

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.2

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark

From fe669cb95ebb711161c27ba063f08ad20d55e761 Mon Sep 17 00:00:00 2001
From: Axel Lin <[email protected]>
Date: Sun, 21 Apr 2019 10:26:56 +0800
Subject: [PATCH] regulator: mt63xx: Switch to SPDX identifier

Convert MediaTek mt63xx PMIC drivers to SPDX identifier.

---
 drivers/regulator/mt6311-regulator.c | 17 ++++-------------
 drivers/regulator/mt6311-regulator.h | 10 +---------
 drivers/regulator/mt6323-regulator.c | 12 ++++--------
 drivers/regulator/mt6380-regulator.c | 17 ++++-------------
 drivers/regulator/mt6397-regulator.c | 17 ++++-------------
 5 files changed, 17 insertions(+), 56 deletions(-)
drivers/regulator/mt6311-regulator.c +4 -13
index 01d69f43d2b0..af95449d3590 100644
@@ -1,16 +1,7 @@
-/*
- * Copyright (c) 2015 MediaTek Inc.
- * Author: Henry Chen <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- */
+// SPDX-License-Identifier: GPL-2.0
+//
+// Copyright (c) 2015 MediaTek Inc.
+// Author: Henry Chen <[email protected]>
 
 #include <linux/err.h>
 #include <linux/gpio.h>
drivers/regulator/mt6311-regulator.h +1 -9
index 5218db46a798..4904d6751714 100644
@@ -1,15 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright (c) 2015 MediaTek Inc.
  * Author: Henry Chen <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #ifndef __MT6311_REGULATOR_H__
drivers/regulator/mt6323-regulator.c +4 -8
index 25b002328910..893ea190788a 100644
@@ -1,11 +1,7 @@
-/*
- * Copyright (c) 2016 MediaTek Inc.
- * Author: Chen Zhong <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- */
+// SPDX-License-Identifier: GPL-2.0
+//
+// Copyright (c) 2016 MediaTek Inc.
+// Author: Chen Zhong <[email protected]>
 
 #include <linux/module.h>
 #include <linux/of.h>
drivers/regulator/mt6380-regulator.c +4 -13
index 86bc332df3f2..b6aed090b5e0 100644
@@ -1,16 +1,7 @@
-/*
- * Copyright (c) 2017 MediaTek Inc.
- * Author: Chenglin Xu <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- */
+// SPDX-License-Identifier: GPL-2.0
+//
+// Copyright (c) 2017 MediaTek Inc.
+// Author: Chenglin Xu <[email protected]>
 
 #include <linux/module.h>
 #include <linux/of.h>
drivers/regulator/mt6397-regulator.c +4 -13
index 3e6c8d99ec0f..fd9ed864a0c1 100644
@@ -1,16 +1,7 @@
-/*
- * Copyright (c) 2014 MediaTek Inc.
- * Author: Flora Fu <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- */
+// SPDX-License-Identifier: GPL-2.0
+//
+// Copyright (c) 2014 MediaTek Inc.
+// Author: Flora Fu <[email protected]>
 
 #include <linux/module.h>
 #include <linux/of.h>
Signature · 1 line
2.20.1