2017-06-02 18:52:38

by Scott Branden

[permalink] [raw]
Subject: [PATCH 1/1] pinctrl: bcm: cleanup Broadcom license headers

Use consistent license headers for Broadcom files by
placing additional comments outside of standard legal header.

Also, update legal header to 2017 format as "Broadcom Corporation"
has changed to "Broadcom".

Signed-off-by: Scott Branden <[email protected]>
---
drivers/pinctrl/bcm/pinctrl-bcm281xx.c | 9 ++-------
drivers/pinctrl/bcm/pinctrl-cygnus-mux.c | 9 +++++----
drivers/pinctrl/bcm/pinctrl-iproc-gpio.c | 6 ++++--
drivers/pinctrl/bcm/pinctrl-nsp-gpio.c | 6 ++++--
4 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/drivers/pinctrl/bcm/pinctrl-bcm281xx.c b/drivers/pinctrl/bcm/pinctrl-bcm281xx.c
index e630f4d..a7cceff 100644
--- a/drivers/pinctrl/bcm/pinctrl-bcm281xx.c
+++ b/drivers/pinctrl/bcm/pinctrl-bcm281xx.c
@@ -1,11 +1,5 @@
/*
- * Broadcom BCM281xx pinctrl driver
- *
- * Author(s):
- * Sherman Yin <[email protected]>
- * Broadcom Corporation <[email protected]>
- *
- * Copyright (C) 2013 Broadcom Corporation
+ * Copyright (C) 2013-2017 Broadcom
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
@@ -16,6 +10,7 @@
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
+
#include <linux/err.h>
#include <linux/io.h>
#include <linux/init.h>
diff --git a/drivers/pinctrl/bcm/pinctrl-cygnus-mux.c b/drivers/pinctrl/bcm/pinctrl-cygnus-mux.c
index 3684cca..44df359 100644
--- a/drivers/pinctrl/bcm/pinctrl-cygnus-mux.c
+++ b/drivers/pinctrl/bcm/pinctrl-cygnus-mux.c
@@ -1,8 +1,5 @@
/*
- * Broadcom Cygnus IOMUX driver
- *
- * Author: Ray Jui <[email protected]>
- * Copyright (C) 2014-2015 Broadcom Corporation
+ * Copyright (C) 2014-2017 Broadcom
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
@@ -12,6 +9,10 @@
* kind, whether express or implied; without even the implied warranty
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
+ */
+
+/*
+ * Broadcom Cygnus IOMUX driver
*
* This file contains the Cygnus IOMUX driver that supports group based PINMUX
* configuration. Although PINMUX configuration is mainly group based, the
diff --git a/drivers/pinctrl/bcm/pinctrl-iproc-gpio.c b/drivers/pinctrl/bcm/pinctrl-iproc-gpio.c
index af5e904..85a8c97 100644
--- a/drivers/pinctrl/bcm/pinctrl-iproc-gpio.c
+++ b/drivers/pinctrl/bcm/pinctrl-iproc-gpio.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2014-2015 Broadcom Corporation
+ * Copyright (C) 2014-2017 Broadcom
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
@@ -9,7 +9,9 @@
* kind, whether express or implied; without even the implied warranty
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ */
+
+/*
* This file contains the Broadcom Iproc GPIO driver that supports 3
* GPIO controllers on Iproc including the ASIU GPIO controller, the
* chipCommonG GPIO controller, and the always-on GPIO controller. Basic
diff --git a/drivers/pinctrl/bcm/pinctrl-nsp-gpio.c b/drivers/pinctrl/bcm/pinctrl-nsp-gpio.c
index 2244243..1cfe45f 100644
--- a/drivers/pinctrl/bcm/pinctrl-nsp-gpio.c
+++ b/drivers/pinctrl/bcm/pinctrl-nsp-gpio.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2015 Broadcom Corporation
+ * Copyright (C) 2014-2017 Broadcom
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
@@ -9,7 +9,9 @@
* kind, whether express or implied; without even the implied warranty
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ */
+
+/*
* This file contains the Broadcom Northstar Plus (NSP) GPIO driver that
* supports the chipCommonA GPIO controller. Basic PINCONF such as bias,
* pull up/down, slew and drive strength are also supported in this driver.
--
2.5.0


2017-06-02 18:58:49

by Florian Fainelli

[permalink] [raw]
Subject: Re: [PATCH 1/1] pinctrl: bcm: cleanup Broadcom license headers

On 06/02/2017 11:52 AM, Scott Branden wrote:
> Use consistent license headers for Broadcom files by
> placing additional comments outside of standard legal header.
>
> Also, update legal header to 2017 format as "Broadcom Corporation"
> has changed to "Broadcom".
>
> Signed-off-by: Scott Branden <[email protected]>

Reviewed-by: Florian Fainelli <[email protected]>
--
Florian

2017-06-09 09:10:31

by Linus Walleij

[permalink] [raw]
Subject: Re: [PATCH 1/1] pinctrl: bcm: cleanup Broadcom license headers

On Fri, Jun 2, 2017 at 8:52 PM, Scott Branden
<[email protected]> wrote:

> Use consistent license headers for Broadcom files by
> placing additional comments outside of standard legal header.
>
> Also, update legal header to 2017 format as "Broadcom Corporation"
> has changed to "Broadcom".
>
> Signed-off-by: Scott Branden <[email protected]>

Patch applied with Florian's review tag.

Yours,
Linus Walleij