diff mbox series

pinctrl: freescale: Switch to SPDX identifier

Message ID 1526755434-30337-1-git-send-email-festevam@gmail.com
State New
Headers show
Series pinctrl: freescale: Switch to SPDX identifier | expand

Commit Message

Fabio Estevam May 19, 2018, 6:43 p.m. UTC
From: Fabio Estevam <fabio.estevam@nxp.com>

Adopt the SPDX license identifier headers to ease license compliance
management.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
 drivers/pinctrl/freescale/pinctrl-imx.c       | 21 ++++++++------------
 drivers/pinctrl/freescale/pinctrl-imx.h       |  6 +-----
 drivers/pinctrl/freescale/pinctrl-imx1-core.c | 27 +++++++++++---------------
 drivers/pinctrl/freescale/pinctrl-imx1.c      | 15 +++++---------
 drivers/pinctrl/freescale/pinctrl-imx1.h      |  6 +-----
 drivers/pinctrl/freescale/pinctrl-imx21.c     | 15 +++++---------
 drivers/pinctrl/freescale/pinctrl-imx23.c     | 19 ++++++------------
 drivers/pinctrl/freescale/pinctrl-imx25.c     | 28 ++++++++++++---------------
 drivers/pinctrl/freescale/pinctrl-imx27.c     | 19 +++++++-----------
 drivers/pinctrl/freescale/pinctrl-imx28.c     | 19 ++++++------------
 drivers/pinctrl/freescale/pinctrl-imx35.c     | 24 ++++++++++-------------
 drivers/pinctrl/freescale/pinctrl-imx50.c     | 19 +++++++-----------
 drivers/pinctrl/freescale/pinctrl-imx51.c     | 21 ++++++++------------
 drivers/pinctrl/freescale/pinctrl-imx53.c     | 21 ++++++++------------
 drivers/pinctrl/freescale/pinctrl-imx6dl.c    | 16 ++++++---------
 drivers/pinctrl/freescale/pinctrl-imx6q.c     | 21 ++++++++------------
 drivers/pinctrl/freescale/pinctrl-imx6sl.c    | 16 ++++++---------
 drivers/pinctrl/freescale/pinctrl-imx6sll.c   |  8 +++-----
 drivers/pinctrl/freescale/pinctrl-imx6sx.c    | 16 ++++++---------
 drivers/pinctrl/freescale/pinctrl-imx6ul.c    | 16 ++++++---------
 drivers/pinctrl/freescale/pinctrl-imx7d.c     | 16 ++++++---------
 drivers/pinctrl/freescale/pinctrl-imx7ulp.c   | 17 ++++++----------
 drivers/pinctrl/freescale/pinctrl-mxs.c       | 13 +++----------
 drivers/pinctrl/freescale/pinctrl-mxs.h       |  8 +-------
 drivers/pinctrl/freescale/pinctrl-vf610.c     | 15 +++++---------
 25 files changed, 151 insertions(+), 271 deletions(-)

Comments

Stefan Agner May 20, 2018, 8:56 a.m. UTC | #1
On 19.05.2018 20:43, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@nxp.com>
> 
> Adopt the SPDX license identifier headers to ease license compliance
> management.

Ugh, some GPL-2.0, some GPL-2.0+... I guess there is nothing we can
really do about it.

Reviewed-by: Stefan Agner <stefan@agner.ch>

--
Stefan

> 
> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
> ---
>  drivers/pinctrl/freescale/pinctrl-imx.c       | 21 ++++++++------------
>  drivers/pinctrl/freescale/pinctrl-imx.h       |  6 +-----
>  drivers/pinctrl/freescale/pinctrl-imx1-core.c | 27 +++++++++++---------------
>  drivers/pinctrl/freescale/pinctrl-imx1.c      | 15 +++++---------
>  drivers/pinctrl/freescale/pinctrl-imx1.h      |  6 +-----
>  drivers/pinctrl/freescale/pinctrl-imx21.c     | 15 +++++---------
>  drivers/pinctrl/freescale/pinctrl-imx23.c     | 19 ++++++------------
>  drivers/pinctrl/freescale/pinctrl-imx25.c     | 28 ++++++++++++---------------
>  drivers/pinctrl/freescale/pinctrl-imx27.c     | 19 +++++++-----------
>  drivers/pinctrl/freescale/pinctrl-imx28.c     | 19 ++++++------------
>  drivers/pinctrl/freescale/pinctrl-imx35.c     | 24 ++++++++++-------------
>  drivers/pinctrl/freescale/pinctrl-imx50.c     | 19 +++++++-----------
>  drivers/pinctrl/freescale/pinctrl-imx51.c     | 21 ++++++++------------
>  drivers/pinctrl/freescale/pinctrl-imx53.c     | 21 ++++++++------------
>  drivers/pinctrl/freescale/pinctrl-imx6dl.c    | 16 ++++++---------
>  drivers/pinctrl/freescale/pinctrl-imx6q.c     | 21 ++++++++------------
>  drivers/pinctrl/freescale/pinctrl-imx6sl.c    | 16 ++++++---------
>  drivers/pinctrl/freescale/pinctrl-imx6sll.c   |  8 +++-----
>  drivers/pinctrl/freescale/pinctrl-imx6sx.c    | 16 ++++++---------
>  drivers/pinctrl/freescale/pinctrl-imx6ul.c    | 16 ++++++---------
>  drivers/pinctrl/freescale/pinctrl-imx7d.c     | 16 ++++++---------
>  drivers/pinctrl/freescale/pinctrl-imx7ulp.c   | 17 ++++++----------
>  drivers/pinctrl/freescale/pinctrl-mxs.c       | 13 +++----------
>  drivers/pinctrl/freescale/pinctrl-mxs.h       |  8 +-------
>  drivers/pinctrl/freescale/pinctrl-vf610.c     | 15 +++++---------
>  25 files changed, 151 insertions(+), 271 deletions(-)
> 
> diff --git a/drivers/pinctrl/freescale/pinctrl-imx.c
> b/drivers/pinctrl/freescale/pinctrl-imx.c
> index 4e730c3..e582a21 100644
> --- a/drivers/pinctrl/freescale/pinctrl-imx.c
> +++ b/drivers/pinctrl/freescale/pinctrl-imx.c
> @@ -1,16 +1,11 @@
> -/*
> - * Core driver for the imx pin controller
> - *
> - * Copyright (C) 2012 Freescale Semiconductor, Inc.
> - * Copyright (C) 2012 Linaro Ltd.
> - *
> - * Author: Dong Aisheng <dong.aisheng@linaro.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - */
> +// SPDX-License-Identifier: GPL-2.0+
> +//
> +// Core driver for the imx pin controller
> +//
> +// Copyright (C) 2012 Freescale Semiconductor, Inc.
> +// Copyright (C) 2012 Linaro Ltd.
> +//
> +// Author: Dong Aisheng <dong.aisheng@linaro.org>
>  
>  #include <linux/err.h>
>  #include <linux/init.h>
> diff --git a/drivers/pinctrl/freescale/pinctrl-imx.h
> b/drivers/pinctrl/freescale/pinctrl-imx.h
> index 038e8c0..4b8225c 100644
> --- a/drivers/pinctrl/freescale/pinctrl-imx.h
> +++ b/drivers/pinctrl/freescale/pinctrl-imx.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0+ */
>  /*
>   * IMX pinmux core definitions
>   *
> @@ -5,11 +6,6 @@
>   * Copyright (C) 2012 Linaro Ltd.
>   *
>   * Author: Dong Aisheng <dong.aisheng@linaro.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
>   */
>  
>  #ifndef __DRIVERS_PINCTRL_IMX_H
> diff --git a/drivers/pinctrl/freescale/pinctrl-imx1-core.c
> b/drivers/pinctrl/freescale/pinctrl-imx1-core.c
> index a4e9f43..5af89de 100644
> --- a/drivers/pinctrl/freescale/pinctrl-imx1-core.c
> +++ b/drivers/pinctrl/freescale/pinctrl-imx1-core.c
> @@ -1,19 +1,14 @@
> -/*
> - * Core driver for the imx pin controller in imx1/21/27
> - *
> - * Copyright (C) 2013 Pengutronix
> - * Author: Markus Pargmann <mpa@pengutronix.de>
> - *
> - * Based on pinctrl-imx.c:
> - *	Author: Dong Aisheng <dong.aisheng@linaro.org>
> - *	Copyright (C) 2012 Freescale Semiconductor, Inc.
> - *	Copyright (C) 2012 Linaro Ltd.
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - */
> +// SPDX-License-Identifier: GPL-2.0+
> +//
> +// Core driver for the imx pin controller in imx1/21/27
> +//
> +// Copyright (C) 2013 Pengutronix
> +// Author: Markus Pargmann <mpa@pengutronix.de>
> +//
> +// Based on pinctrl-imx.c:
> +//	Author: Dong Aisheng <dong.aisheng@linaro.org>
> +//	Copyright (C) 2012 Freescale Semiconductor, Inc.
> +//	Copyright (C) 2012 Linaro Ltd.
>  
>  #include <linux/bitops.h>
>  #include <linux/err.h>
> diff --git a/drivers/pinctrl/freescale/pinctrl-imx1.c
> b/drivers/pinctrl/freescale/pinctrl-imx1.c
> index fc8efc7..faf770f 100644
> --- a/drivers/pinctrl/freescale/pinctrl-imx1.c
> +++ b/drivers/pinctrl/freescale/pinctrl-imx1.c
> @@ -1,13 +1,8 @@
> -/*
> - * i.MX1 pinctrl driver based on imx pinmux core
> - *
> - * Copyright (C) 2014 Alexander Shiyan <shc_work@mail.ru>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - */
> +// SPDX-License-Identifier: GPL-2.0+
> +//
> +// i.MX1 pinctrl driver based on imx pinmux core
> +//
> +// Copyright (C) 2014 Alexander Shiyan <shc_work@mail.ru>
>  
>  #include <linux/init.h>
>  #include <linux/of.h>
> diff --git a/drivers/pinctrl/freescale/pinctrl-imx1.h
> b/drivers/pinctrl/freescale/pinctrl-imx1.h
> index 1740743..f1b9dab 100644
> --- a/drivers/pinctrl/freescale/pinctrl-imx1.h
> +++ b/drivers/pinctrl/freescale/pinctrl-imx1.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0+ */
>  /*
>   * IMX pinmux core definitions
>   *
> @@ -5,11 +6,6 @@
>   * Copyright (C) 2012 Linaro Ltd.
>   *
>   * Author: Dong Aisheng <dong.aisheng@linaro.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
>   */
>  
>  #ifndef __DRIVERS_PINCTRL_IMX1_H
> diff --git a/drivers/pinctrl/freescale/pinctrl-imx21.c
> b/drivers/pinctrl/freescale/pinctrl-imx21.c
> index 73e26bc..8a10227 100644
> --- a/drivers/pinctrl/freescale/pinctrl-imx21.c
> +++ b/drivers/pinctrl/freescale/pinctrl-imx21.c
> @@ -1,13 +1,8 @@
> -/*
> - * i.MX21 pinctrl driver based on imx pinmux core
> - *
> - * Copyright (C) 2014 Alexander Shiyan <shc_work@mail.ru>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - */
> +// SPDX-License-Identifier: GPL-2.0+
> +//
> +// i.MX21 pinctrl driver based on imx pinmux core
> +//
> +// Copyright (C) 2014 Alexander Shiyan <shc_work@mail.ru>
>  
>  #include <linux/init.h>
>  #include <linux/of.h>
> diff --git a/drivers/pinctrl/freescale/pinctrl-imx23.c
> b/drivers/pinctrl/freescale/pinctrl-imx23.c
> index c940568..1440207 100644
> --- a/drivers/pinctrl/freescale/pinctrl-imx23.c
> +++ b/drivers/pinctrl/freescale/pinctrl-imx23.c
> @@ -1,16 +1,9 @@
> -/*
> - * Freescale i.MX23 pinctrl driver
> - *
> - * Author: Shawn Guo <shawn.guo@linaro.org>
> - * Copyright 2012 Freescale Semiconductor, Inc.
> - *
> - * The code contained herein is licensed under the GNU General Public
> - * License. You may obtain a copy of the GNU General Public License
> - * Version 2 or later at the following locations:
> - *
> - * http://www.opensource.org/licenses/gpl-license.html
> - * http://www.gnu.org/copyleft/gpl.html
> - */
> +// SPDX-License-Identifier: GPL-2.0+
> +//
> +// Freescale i.MX23 pinctrl driver
> +//
> +// Author: Shawn Guo <shawn.guo@linaro.org>
> +// Copyright 2012 Freescale Semiconductor, Inc.
>  
>  #include <linux/init.h>
>  #include <linux/of_device.h>
> diff --git a/drivers/pinctrl/freescale/pinctrl-imx25.c
> b/drivers/pinctrl/freescale/pinctrl-imx25.c
> index db6d9d1..a899a39 100644
> --- a/drivers/pinctrl/freescale/pinctrl-imx25.c
> +++ b/drivers/pinctrl/freescale/pinctrl-imx25.c
> @@ -1,19 +1,15 @@
> -/*
> - * imx25 pinctrl driver.
> - *
> - * Copyright 2013 Eukréa Electromatique <denis@eukrea.com>
> - *
> - * This driver was mostly copied from the imx51 pinctrl driver which has:
> - *
> - * Copyright (C) 2012 Freescale Semiconductor, Inc.
> - * Copyright (C) 2012 Linaro, Inc.
> - *
> - * Author: Denis Carikli <denis@eukrea.com>
> - *
> - * 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
> +//
> +// imx25 pinctrl driver.
> +//
> +// Copyright 2013 Eukréa Electromatique <denis@eukrea.com>
> +//
> +// This driver was mostly copied from the imx51 pinctrl driver which has:
> +//
> +// Copyright (C) 2012 Freescale Semiconductor, Inc.
> +// Copyright (C) 2012 Linaro, Inc.
> +//
> +// Author: Denis Carikli <denis@eukrea.com>
>  
>  #include <linux/err.h>
>  #include <linux/init.h>
> diff --git a/drivers/pinctrl/freescale/pinctrl-imx27.c
> b/drivers/pinctrl/freescale/pinctrl-imx27.c
> index e599203..b4dfc16 100644
> --- a/drivers/pinctrl/freescale/pinctrl-imx27.c
> +++ b/drivers/pinctrl/freescale/pinctrl-imx27.c
> @@ -1,15 +1,10 @@
> -/*
> - * imx27 pinctrl driver based on imx pinmux core
> - *
> - * Copyright (C) 2013 Pengutronix
> - *
> - * Author: Markus Pargmann <mpa@pengutronix.de>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - */
> +// SPDX-License-Identifier: GPL-2.0+
> +//
> +// imx27 pinctrl driver based on imx pinmux core
> +//
> +// Copyright (C) 2013 Pengutronix
> +//
> +// Author: Markus Pargmann <mpa@pengutronix.de>
>  
>  #include <linux/err.h>
>  #include <linux/init.h>
> diff --git a/drivers/pinctrl/freescale/pinctrl-imx28.c
> b/drivers/pinctrl/freescale/pinctrl-imx28.c
> index 87deb9e..13730dd 100644
> --- a/drivers/pinctrl/freescale/pinctrl-imx28.c
> +++ b/drivers/pinctrl/freescale/pinctrl-imx28.c
> @@ -1,16 +1,9 @@
> -/*
> - * Freescale i.MX28 pinctrl driver
> - *
> - * Author: Shawn Guo <shawn.guo@linaro.org>
> - * Copyright 2012 Freescale Semiconductor, Inc.
> - *
> - * The code contained herein is licensed under the GNU General Public
> - * License. You may obtain a copy of the GNU General Public License
> - * Version 2 or later at the following locations:
> - *
> - * http://www.opensource.org/licenses/gpl-license.html
> - * http://www.gnu.org/copyleft/gpl.html
> - */
> +// SPDX-License-Identifier: GPL-2.0+
> +//
> +// Freescale i.MX28 pinctrl driver
> +//
> +// Author: Shawn Guo <shawn.guo@linaro.org>
> +// Copyright 2012 Freescale Semiconductor, Inc.
>  
>  #include <linux/init.h>
>  #include <linux/of_device.h>
> diff --git a/drivers/pinctrl/freescale/pinctrl-imx35.c
> b/drivers/pinctrl/freescale/pinctrl-imx35.c
> index 6927946..871bb41 100644
> --- a/drivers/pinctrl/freescale/pinctrl-imx35.c
> +++ b/drivers/pinctrl/freescale/pinctrl-imx35.c
> @@ -1,17 +1,13 @@
> -/*
> - * imx35 pinctrl driver.
> - *
> - * This driver was mostly copied from the imx51 pinctrl driver which has:
> - *
> - * Copyright (C) 2012 Freescale Semiconductor, Inc.
> - * Copyright (C) 2012 Linaro, Inc.
> - *
> - * Author: Dong Aisheng <dong.aisheng@linaro.org>
> - *
> - * 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
> +//
> +// imx35 pinctrl driver.
> +//
> +// This driver was mostly copied from the imx51 pinctrl driver which has:
> +//
> +// Copyright (C) 2012 Freescale Semiconductor, Inc.
> +// Copyright (C) 2012 Linaro, Inc.
> +//
> +// Author: Dong Aisheng <dong.aisheng@linaro.org>
>  
>  #include <linux/err.h>
>  #include <linux/init.h>
> diff --git a/drivers/pinctrl/freescale/pinctrl-imx50.c
> b/drivers/pinctrl/freescale/pinctrl-imx50.c
> index eb349b9..cf182c0 100644
> --- a/drivers/pinctrl/freescale/pinctrl-imx50.c
> +++ b/drivers/pinctrl/freescale/pinctrl-imx50.c
> @@ -1,15 +1,10 @@
> -/*
> - * imx50 pinctrl driver based on imx pinmux core
> - *
> - * Copyright (C) 2013 Greg Ungerer <gerg@uclinux.org>
> - * Copyright (C) 2012 Freescale Semiconductor, Inc.
> - * Copyright (C) 2012 Linaro, Inc.
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - */
> +// SPDX-License-Identifier: GPL-2.0+
> +//
> +// imx50 pinctrl driver based on imx pinmux core
> +//
> +// Copyright (C) 2013 Greg Ungerer <gerg@uclinux.org>
> +// Copyright (C) 2012 Freescale Semiconductor, Inc.
> +// Copyright (C) 2012 Linaro, Inc.
>  
>  #include <linux/err.h>
>  #include <linux/init.h>
> diff --git a/drivers/pinctrl/freescale/pinctrl-imx51.c
> b/drivers/pinctrl/freescale/pinctrl-imx51.c
> index 49acd99..e5c261e 100644
> --- a/drivers/pinctrl/freescale/pinctrl-imx51.c
> +++ b/drivers/pinctrl/freescale/pinctrl-imx51.c
> @@ -1,16 +1,11 @@
> -/*
> - * imx51 pinctrl driver based on imx pinmux core
> - *
> - * Copyright (C) 2012 Freescale Semiconductor, Inc.
> - * Copyright (C) 2012 Linaro, Inc.
> - *
> - * Author: Dong Aisheng <dong.aisheng@linaro.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - */
> +// SPDX-License-Identifier: GPL-2.0+
> +//
> +// imx51 pinctrl driver based on imx pinmux core
> +//
> +// Copyright (C) 2012 Freescale Semiconductor, Inc.
> +// Copyright (C) 2012 Linaro, Inc.
> +//
> +// Author: Dong Aisheng <dong.aisheng@linaro.org>
>  
>  #include <linux/err.h>
>  #include <linux/init.h>
> diff --git a/drivers/pinctrl/freescale/pinctrl-imx53.c
> b/drivers/pinctrl/freescale/pinctrl-imx53.c
> index 6dd0c60..64c97aa 100644
> --- a/drivers/pinctrl/freescale/pinctrl-imx53.c
> +++ b/drivers/pinctrl/freescale/pinctrl-imx53.c
> @@ -1,16 +1,11 @@
> -/*
> - * imx53 pinctrl driver based on imx pinmux core
> - *
> - * Copyright (C) 2012 Freescale Semiconductor, Inc.
> - * Copyright (C) 2012 Linaro, Inc.
> - *
> - * Author: Dong Aisheng <dong.aisheng@linaro.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - */
> +// SPDX-License-Identifier: GPL-2.0+
> +//
> +// imx53 pinctrl driver based on imx pinmux core
> +//
> +// Copyright (C) 2012 Freescale Semiconductor, Inc.
> +// Copyright (C) 2012 Linaro, Inc.
> +//
> +// Author: Dong Aisheng <dong.aisheng@linaro.org>
>  
>  #include <linux/err.h>
>  #include <linux/init.h>
> diff --git a/drivers/pinctrl/freescale/pinctrl-imx6dl.c
> b/drivers/pinctrl/freescale/pinctrl-imx6dl.c
> index 91b85fc..0858b4d 100644
> --- a/drivers/pinctrl/freescale/pinctrl-imx6dl.c
> +++ b/drivers/pinctrl/freescale/pinctrl-imx6dl.c
> @@ -1,13 +1,9 @@
> -/*
> - * Freescale imx6dl pinctrl driver
> - *
> - * Author: Shawn Guo <shawn.guo@linaro.org>
> - * Copyright (C) 2013 Freescale Semiconductor, Inc.
> - *
> - * 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
> +//
> +// Freescale imx6dl pinctrl driver
> +//
> +// Author: Shawn Guo <shawn.guo@linaro.org>
> +// Copyright (C) 2013 Freescale Semiconductor, Inc.
>  
>  #include <linux/err.h>
>  #include <linux/init.h>
> diff --git a/drivers/pinctrl/freescale/pinctrl-imx6q.c
> b/drivers/pinctrl/freescale/pinctrl-imx6q.c
> index 5f653d6..078ed6a 100644
> --- a/drivers/pinctrl/freescale/pinctrl-imx6q.c
> +++ b/drivers/pinctrl/freescale/pinctrl-imx6q.c
> @@ -1,16 +1,11 @@
> -/*
> - * imx6q pinctrl driver based on imx pinmux core
> - *
> - * Copyright (C) 2012 Freescale Semiconductor, Inc.
> - * Copyright (C) 2012 Linaro, Inc.
> - *
> - * Author: Dong Aisheng <dong.aisheng@linaro.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - */
> +// SPDX-License-Identifier: GPL-2.0+
> +//
> +// imx6q pinctrl driver based on imx pinmux core
> +//
> +// Copyright (C) 2012 Freescale Semiconductor, Inc.
> +// Copyright (C) 2012 Linaro, Inc.
> +//
> +// Author: Dong Aisheng <dong.aisheng@linaro.org>
>  
>  #include <linux/err.h>
>  #include <linux/init.h>
> diff --git a/drivers/pinctrl/freescale/pinctrl-imx6sl.c
> b/drivers/pinctrl/freescale/pinctrl-imx6sl.c
> index 1167dc2..9d2e6f9 100644
> --- a/drivers/pinctrl/freescale/pinctrl-imx6sl.c
> +++ b/drivers/pinctrl/freescale/pinctrl-imx6sl.c
> @@ -1,13 +1,9 @@
> -/*
> - * Freescale imx6sl pinctrl driver
> - *
> - * Author: Shawn Guo <shawn.guo@linaro.org>
> - * Copyright (C) 2013 Freescale Semiconductor, Inc.
> - *
> - * 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
> +//
> +// Freescale imx6sl pinctrl driver
> +//
> +// Author: Shawn Guo <shawn.guo@linaro.org>
> +// Copyright (C) 2013 Freescale Semiconductor, Inc.
>  
>  #include <linux/err.h>
>  #include <linux/init.h>
> diff --git a/drivers/pinctrl/freescale/pinctrl-imx6sll.c
> b/drivers/pinctrl/freescale/pinctrl-imx6sll.c
> index 0fbea9c..0618f4d 100644
> --- a/drivers/pinctrl/freescale/pinctrl-imx6sll.c
> +++ b/drivers/pinctrl/freescale/pinctrl-imx6sll.c
> @@ -1,9 +1,7 @@
>  // SPDX-License-Identifier: GPL-2.0
> -/*
> - * Copyright (C) 2016 Freescale Semiconductor, Inc.
> - * Copyright 2017-2018 NXP.
> - *
> - */
> +//
> +// Copyright (C) 2016 Freescale Semiconductor, Inc.
> +// Copyright 2017-2018 NXP.
>  
>  #include <linux/err.h>
>  #include <linux/init.h>
> diff --git a/drivers/pinctrl/freescale/pinctrl-imx6sx.c
> b/drivers/pinctrl/freescale/pinctrl-imx6sx.c
> index 15ea56c..c7e2b1f 100644
> --- a/drivers/pinctrl/freescale/pinctrl-imx6sx.c
> +++ b/drivers/pinctrl/freescale/pinctrl-imx6sx.c
> @@ -1,13 +1,9 @@
> -/*
> - * Freescale imx6sx pinctrl driver
> - *
> - * Author: Anson Huang <Anson.Huang@freescale.com>
> - * Copyright (C) 2014 Freescale Semiconductor, Inc.
> - *
> - * 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
> +//
> +// Freescale imx6sx pinctrl driver
> +//
> +// Author: Anson Huang <Anson.Huang@freescale.com>
> +// Copyright (C) 2014 Freescale Semiconductor, Inc.
>  
>  #include <linux/err.h>
>  #include <linux/init.h>
> diff --git a/drivers/pinctrl/freescale/pinctrl-imx6ul.c
> b/drivers/pinctrl/freescale/pinctrl-imx6ul.c
> index 4580717..7e37627 100644
> --- a/drivers/pinctrl/freescale/pinctrl-imx6ul.c
> +++ b/drivers/pinctrl/freescale/pinctrl-imx6ul.c
> @@ -1,13 +1,9 @@
> -/*
> - * Freescale imx6ul pinctrl driver
> - *
> - * Author: Anson Huang <Anson.Huang@freescale.com>
> - * Copyright (C) 2015 Freescale Semiconductor, Inc.
> - *
> - * 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
> +//
> +// Freescale imx6ul pinctrl driver
> +//
> +// Author: Anson Huang <Anson.Huang@freescale.com>
> +// Copyright (C) 2015 Freescale Semiconductor, Inc.
>  
>  #include <linux/err.h>
>  #include <linux/init.h>
> diff --git a/drivers/pinctrl/freescale/pinctrl-imx7d.c
> b/drivers/pinctrl/freescale/pinctrl-imx7d.c
> index 0b0a2f3..369d3e5 100644
> --- a/drivers/pinctrl/freescale/pinctrl-imx7d.c
> +++ b/drivers/pinctrl/freescale/pinctrl-imx7d.c
> @@ -1,13 +1,9 @@
> -/*
> - * Freescale imx7d pinctrl driver
> - *
> - * Author: Anson Huang <Anson.Huang@freescale.com>
> - * Copyright (C) 2014-2015 Freescale Semiconductor, Inc.
> - *
> - * 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
> +//
> +// Freescale imx7d pinctrl driver
> +//
> +// Author: Anson Huang <Anson.Huang@freescale.com>
> +// Copyright (C) 2014-2015 Freescale Semiconductor, Inc.
>  
>  #include <linux/err.h>
>  #include <linux/init.h>
> diff --git a/drivers/pinctrl/freescale/pinctrl-imx7ulp.c
> b/drivers/pinctrl/freescale/pinctrl-imx7ulp.c
> index f363e45fd2..f521bdb 100644
> --- a/drivers/pinctrl/freescale/pinctrl-imx7ulp.c
> +++ b/drivers/pinctrl/freescale/pinctrl-imx7ulp.c
> @@ -1,14 +1,9 @@
> -/*
> - * Copyright (C) 2016 Freescale Semiconductor, Inc.
> - * Copyright (C) 2017 NXP
> - *
> - * Author: Dong Aisheng <aisheng.dong@nxp.com>
> - *
> - * 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 Freescale Semiconductor, Inc.
> +// Copyright (C) 2017 NXP
> +//
> +// Author: Dong Aisheng <aisheng.dong@nxp.com>
>  
>  #include <linux/err.h>
>  #include <linux/init.h>
> diff --git a/drivers/pinctrl/freescale/pinctrl-mxs.c
> b/drivers/pinctrl/freescale/pinctrl-mxs.c
> index 6852010..594f3e5 100644
> --- a/drivers/pinctrl/freescale/pinctrl-mxs.c
> +++ b/drivers/pinctrl/freescale/pinctrl-mxs.c
> @@ -1,13 +1,6 @@
> -/*
> - * Copyright 2012 Freescale Semiconductor, Inc.
> - *
> - * The code contained herein is licensed under the GNU General Public
> - * License. You may obtain a copy of the GNU General Public License
> - * Version 2 or later at the following locations:
> - *
> - * http://www.opensource.org/licenses/gpl-license.html
> - * http://www.gnu.org/copyleft/gpl.html
> - */
> +// SPDX-License-Identifier: GPL-2.0+
> +//
> +// Copyright 2012 Freescale Semiconductor, Inc.
>  
>  #include <linux/err.h>
>  #include <linux/init.h>
> diff --git a/drivers/pinctrl/freescale/pinctrl-mxs.h
> b/drivers/pinctrl/freescale/pinctrl-mxs.h
> index 34dbf75..ab9f834 100644
> --- a/drivers/pinctrl/freescale/pinctrl-mxs.h
> +++ b/drivers/pinctrl/freescale/pinctrl-mxs.h
> @@ -1,12 +1,6 @@
> +/* SPDX-License-Identifier: GPL-2.0+ */
>  /*
>   * Copyright 2012 Freescale Semiconductor, Inc.
> - *
> - * The code contained herein is licensed under the GNU General Public
> - * License. You may obtain a copy of the GNU General Public License
> - * Version 2 or later at the following locations:
> - *
> - * http://www.opensource.org/licenses/gpl-license.html
> - * http://www.gnu.org/copyleft/gpl.html
>   */
>  
>  #ifndef __PINCTRL_MXS_H
> diff --git a/drivers/pinctrl/freescale/pinctrl-vf610.c
> b/drivers/pinctrl/freescale/pinctrl-vf610.c
> index c078f85..37602b05 100644
> --- a/drivers/pinctrl/freescale/pinctrl-vf610.c
> +++ b/drivers/pinctrl/freescale/pinctrl-vf610.c
> @@ -1,13 +1,8 @@
> -/*
> - * VF610 pinctrl driver based on imx pinmux and pinconf core
> - *
> - * Copyright 2013 Freescale Semiconductor, Inc.
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - */
> +// SPDX-License-Identifier: GPL-2.0+
> +//
> +// VF610 pinctrl driver based on imx pinmux and pinconf core
> +//
> +// Copyright 2013 Freescale Semiconductor, Inc.
>  
>  #include <linux/err.h>
>  #include <linux/init.h>
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Linus Walleij May 24, 2018, 7:34 a.m. UTC | #2
On Sat, May 19, 2018 at 8:43 PM, Fabio Estevam <festevam@gmail.com> wrote:

> From: Fabio Estevam <fabio.estevam@nxp.com>
>
> Adopt the SPDX license identifier headers to ease license compliance
> management.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>

Patch applied with Stefan's Review tag.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox series

Patch

diff --git a/drivers/pinctrl/freescale/pinctrl-imx.c b/drivers/pinctrl/freescale/pinctrl-imx.c
index 4e730c3..e582a21 100644
--- a/drivers/pinctrl/freescale/pinctrl-imx.c
+++ b/drivers/pinctrl/freescale/pinctrl-imx.c
@@ -1,16 +1,11 @@ 
-/*
- * Core driver for the imx pin controller
- *
- * Copyright (C) 2012 Freescale Semiconductor, Inc.
- * Copyright (C) 2012 Linaro Ltd.
- *
- * Author: Dong Aisheng <dong.aisheng@linaro.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- */
+// SPDX-License-Identifier: GPL-2.0+
+//
+// Core driver for the imx pin controller
+//
+// Copyright (C) 2012 Freescale Semiconductor, Inc.
+// Copyright (C) 2012 Linaro Ltd.
+//
+// Author: Dong Aisheng <dong.aisheng@linaro.org>
 
 #include <linux/err.h>
 #include <linux/init.h>
diff --git a/drivers/pinctrl/freescale/pinctrl-imx.h b/drivers/pinctrl/freescale/pinctrl-imx.h
index 038e8c0..4b8225c 100644
--- a/drivers/pinctrl/freescale/pinctrl-imx.h
+++ b/drivers/pinctrl/freescale/pinctrl-imx.h
@@ -1,3 +1,4 @@ 
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * IMX pinmux core definitions
  *
@@ -5,11 +6,6 @@ 
  * Copyright (C) 2012 Linaro Ltd.
  *
  * Author: Dong Aisheng <dong.aisheng@linaro.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
  */
 
 #ifndef __DRIVERS_PINCTRL_IMX_H
diff --git a/drivers/pinctrl/freescale/pinctrl-imx1-core.c b/drivers/pinctrl/freescale/pinctrl-imx1-core.c
index a4e9f43..5af89de 100644
--- a/drivers/pinctrl/freescale/pinctrl-imx1-core.c
+++ b/drivers/pinctrl/freescale/pinctrl-imx1-core.c
@@ -1,19 +1,14 @@ 
-/*
- * Core driver for the imx pin controller in imx1/21/27
- *
- * Copyright (C) 2013 Pengutronix
- * Author: Markus Pargmann <mpa@pengutronix.de>
- *
- * Based on pinctrl-imx.c:
- *	Author: Dong Aisheng <dong.aisheng@linaro.org>
- *	Copyright (C) 2012 Freescale Semiconductor, Inc.
- *	Copyright (C) 2012 Linaro Ltd.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- */
+// SPDX-License-Identifier: GPL-2.0+
+//
+// Core driver for the imx pin controller in imx1/21/27
+//
+// Copyright (C) 2013 Pengutronix
+// Author: Markus Pargmann <mpa@pengutronix.de>
+//
+// Based on pinctrl-imx.c:
+//	Author: Dong Aisheng <dong.aisheng@linaro.org>
+//	Copyright (C) 2012 Freescale Semiconductor, Inc.
+//	Copyright (C) 2012 Linaro Ltd.
 
 #include <linux/bitops.h>
 #include <linux/err.h>
diff --git a/drivers/pinctrl/freescale/pinctrl-imx1.c b/drivers/pinctrl/freescale/pinctrl-imx1.c
index fc8efc7..faf770f 100644
--- a/drivers/pinctrl/freescale/pinctrl-imx1.c
+++ b/drivers/pinctrl/freescale/pinctrl-imx1.c
@@ -1,13 +1,8 @@ 
-/*
- * i.MX1 pinctrl driver based on imx pinmux core
- *
- * Copyright (C) 2014 Alexander Shiyan <shc_work@mail.ru>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- */
+// SPDX-License-Identifier: GPL-2.0+
+//
+// i.MX1 pinctrl driver based on imx pinmux core
+//
+// Copyright (C) 2014 Alexander Shiyan <shc_work@mail.ru>
 
 #include <linux/init.h>
 #include <linux/of.h>
diff --git a/drivers/pinctrl/freescale/pinctrl-imx1.h b/drivers/pinctrl/freescale/pinctrl-imx1.h
index 1740743..f1b9dab 100644
--- a/drivers/pinctrl/freescale/pinctrl-imx1.h
+++ b/drivers/pinctrl/freescale/pinctrl-imx1.h
@@ -1,3 +1,4 @@ 
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * IMX pinmux core definitions
  *
@@ -5,11 +6,6 @@ 
  * Copyright (C) 2012 Linaro Ltd.
  *
  * Author: Dong Aisheng <dong.aisheng@linaro.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
  */
 
 #ifndef __DRIVERS_PINCTRL_IMX1_H
diff --git a/drivers/pinctrl/freescale/pinctrl-imx21.c b/drivers/pinctrl/freescale/pinctrl-imx21.c
index 73e26bc..8a10227 100644
--- a/drivers/pinctrl/freescale/pinctrl-imx21.c
+++ b/drivers/pinctrl/freescale/pinctrl-imx21.c
@@ -1,13 +1,8 @@ 
-/*
- * i.MX21 pinctrl driver based on imx pinmux core
- *
- * Copyright (C) 2014 Alexander Shiyan <shc_work@mail.ru>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- */
+// SPDX-License-Identifier: GPL-2.0+
+//
+// i.MX21 pinctrl driver based on imx pinmux core
+//
+// Copyright (C) 2014 Alexander Shiyan <shc_work@mail.ru>
 
 #include <linux/init.h>
 #include <linux/of.h>
diff --git a/drivers/pinctrl/freescale/pinctrl-imx23.c b/drivers/pinctrl/freescale/pinctrl-imx23.c
index c940568..1440207 100644
--- a/drivers/pinctrl/freescale/pinctrl-imx23.c
+++ b/drivers/pinctrl/freescale/pinctrl-imx23.c
@@ -1,16 +1,9 @@ 
-/*
- * Freescale i.MX23 pinctrl driver
- *
- * Author: Shawn Guo <shawn.guo@linaro.org>
- * Copyright 2012 Freescale Semiconductor, Inc.
- *
- * The code contained herein is licensed under the GNU General Public
- * License. You may obtain a copy of the GNU General Public License
- * Version 2 or later at the following locations:
- *
- * http://www.opensource.org/licenses/gpl-license.html
- * http://www.gnu.org/copyleft/gpl.html
- */
+// SPDX-License-Identifier: GPL-2.0+
+//
+// Freescale i.MX23 pinctrl driver
+//
+// Author: Shawn Guo <shawn.guo@linaro.org>
+// Copyright 2012 Freescale Semiconductor, Inc.
 
 #include <linux/init.h>
 #include <linux/of_device.h>
diff --git a/drivers/pinctrl/freescale/pinctrl-imx25.c b/drivers/pinctrl/freescale/pinctrl-imx25.c
index db6d9d1..a899a39 100644
--- a/drivers/pinctrl/freescale/pinctrl-imx25.c
+++ b/drivers/pinctrl/freescale/pinctrl-imx25.c
@@ -1,19 +1,15 @@ 
-/*
- * imx25 pinctrl driver.
- *
- * Copyright 2013 Eukréa Electromatique <denis@eukrea.com>
- *
- * This driver was mostly copied from the imx51 pinctrl driver which has:
- *
- * Copyright (C) 2012 Freescale Semiconductor, Inc.
- * Copyright (C) 2012 Linaro, Inc.
- *
- * Author: Denis Carikli <denis@eukrea.com>
- *
- * 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
+//
+// imx25 pinctrl driver.
+//
+// Copyright 2013 Eukréa Electromatique <denis@eukrea.com>
+//
+// This driver was mostly copied from the imx51 pinctrl driver which has:
+//
+// Copyright (C) 2012 Freescale Semiconductor, Inc.
+// Copyright (C) 2012 Linaro, Inc.
+//
+// Author: Denis Carikli <denis@eukrea.com>
 
 #include <linux/err.h>
 #include <linux/init.h>
diff --git a/drivers/pinctrl/freescale/pinctrl-imx27.c b/drivers/pinctrl/freescale/pinctrl-imx27.c
index e599203..b4dfc16 100644
--- a/drivers/pinctrl/freescale/pinctrl-imx27.c
+++ b/drivers/pinctrl/freescale/pinctrl-imx27.c
@@ -1,15 +1,10 @@ 
-/*
- * imx27 pinctrl driver based on imx pinmux core
- *
- * Copyright (C) 2013 Pengutronix
- *
- * Author: Markus Pargmann <mpa@pengutronix.de>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- */
+// SPDX-License-Identifier: GPL-2.0+
+//
+// imx27 pinctrl driver based on imx pinmux core
+//
+// Copyright (C) 2013 Pengutronix
+//
+// Author: Markus Pargmann <mpa@pengutronix.de>
 
 #include <linux/err.h>
 #include <linux/init.h>
diff --git a/drivers/pinctrl/freescale/pinctrl-imx28.c b/drivers/pinctrl/freescale/pinctrl-imx28.c
index 87deb9e..13730dd 100644
--- a/drivers/pinctrl/freescale/pinctrl-imx28.c
+++ b/drivers/pinctrl/freescale/pinctrl-imx28.c
@@ -1,16 +1,9 @@ 
-/*
- * Freescale i.MX28 pinctrl driver
- *
- * Author: Shawn Guo <shawn.guo@linaro.org>
- * Copyright 2012 Freescale Semiconductor, Inc.
- *
- * The code contained herein is licensed under the GNU General Public
- * License. You may obtain a copy of the GNU General Public License
- * Version 2 or later at the following locations:
- *
- * http://www.opensource.org/licenses/gpl-license.html
- * http://www.gnu.org/copyleft/gpl.html
- */
+// SPDX-License-Identifier: GPL-2.0+
+//
+// Freescale i.MX28 pinctrl driver
+//
+// Author: Shawn Guo <shawn.guo@linaro.org>
+// Copyright 2012 Freescale Semiconductor, Inc.
 
 #include <linux/init.h>
 #include <linux/of_device.h>
diff --git a/drivers/pinctrl/freescale/pinctrl-imx35.c b/drivers/pinctrl/freescale/pinctrl-imx35.c
index 6927946..871bb41 100644
--- a/drivers/pinctrl/freescale/pinctrl-imx35.c
+++ b/drivers/pinctrl/freescale/pinctrl-imx35.c
@@ -1,17 +1,13 @@ 
-/*
- * imx35 pinctrl driver.
- *
- * This driver was mostly copied from the imx51 pinctrl driver which has:
- *
- * Copyright (C) 2012 Freescale Semiconductor, Inc.
- * Copyright (C) 2012 Linaro, Inc.
- *
- * Author: Dong Aisheng <dong.aisheng@linaro.org>
- *
- * 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
+//
+// imx35 pinctrl driver.
+//
+// This driver was mostly copied from the imx51 pinctrl driver which has:
+//
+// Copyright (C) 2012 Freescale Semiconductor, Inc.
+// Copyright (C) 2012 Linaro, Inc.
+//
+// Author: Dong Aisheng <dong.aisheng@linaro.org>
 
 #include <linux/err.h>
 #include <linux/init.h>
diff --git a/drivers/pinctrl/freescale/pinctrl-imx50.c b/drivers/pinctrl/freescale/pinctrl-imx50.c
index eb349b9..cf182c0 100644
--- a/drivers/pinctrl/freescale/pinctrl-imx50.c
+++ b/drivers/pinctrl/freescale/pinctrl-imx50.c
@@ -1,15 +1,10 @@ 
-/*
- * imx50 pinctrl driver based on imx pinmux core
- *
- * Copyright (C) 2013 Greg Ungerer <gerg@uclinux.org>
- * Copyright (C) 2012 Freescale Semiconductor, Inc.
- * Copyright (C) 2012 Linaro, Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- */
+// SPDX-License-Identifier: GPL-2.0+
+//
+// imx50 pinctrl driver based on imx pinmux core
+//
+// Copyright (C) 2013 Greg Ungerer <gerg@uclinux.org>
+// Copyright (C) 2012 Freescale Semiconductor, Inc.
+// Copyright (C) 2012 Linaro, Inc.
 
 #include <linux/err.h>
 #include <linux/init.h>
diff --git a/drivers/pinctrl/freescale/pinctrl-imx51.c b/drivers/pinctrl/freescale/pinctrl-imx51.c
index 49acd99..e5c261e 100644
--- a/drivers/pinctrl/freescale/pinctrl-imx51.c
+++ b/drivers/pinctrl/freescale/pinctrl-imx51.c
@@ -1,16 +1,11 @@ 
-/*
- * imx51 pinctrl driver based on imx pinmux core
- *
- * Copyright (C) 2012 Freescale Semiconductor, Inc.
- * Copyright (C) 2012 Linaro, Inc.
- *
- * Author: Dong Aisheng <dong.aisheng@linaro.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- */
+// SPDX-License-Identifier: GPL-2.0+
+//
+// imx51 pinctrl driver based on imx pinmux core
+//
+// Copyright (C) 2012 Freescale Semiconductor, Inc.
+// Copyright (C) 2012 Linaro, Inc.
+//
+// Author: Dong Aisheng <dong.aisheng@linaro.org>
 
 #include <linux/err.h>
 #include <linux/init.h>
diff --git a/drivers/pinctrl/freescale/pinctrl-imx53.c b/drivers/pinctrl/freescale/pinctrl-imx53.c
index 6dd0c60..64c97aa 100644
--- a/drivers/pinctrl/freescale/pinctrl-imx53.c
+++ b/drivers/pinctrl/freescale/pinctrl-imx53.c
@@ -1,16 +1,11 @@ 
-/*
- * imx53 pinctrl driver based on imx pinmux core
- *
- * Copyright (C) 2012 Freescale Semiconductor, Inc.
- * Copyright (C) 2012 Linaro, Inc.
- *
- * Author: Dong Aisheng <dong.aisheng@linaro.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- */
+// SPDX-License-Identifier: GPL-2.0+
+//
+// imx53 pinctrl driver based on imx pinmux core
+//
+// Copyright (C) 2012 Freescale Semiconductor, Inc.
+// Copyright (C) 2012 Linaro, Inc.
+//
+// Author: Dong Aisheng <dong.aisheng@linaro.org>
 
 #include <linux/err.h>
 #include <linux/init.h>
diff --git a/drivers/pinctrl/freescale/pinctrl-imx6dl.c b/drivers/pinctrl/freescale/pinctrl-imx6dl.c
index 91b85fc..0858b4d 100644
--- a/drivers/pinctrl/freescale/pinctrl-imx6dl.c
+++ b/drivers/pinctrl/freescale/pinctrl-imx6dl.c
@@ -1,13 +1,9 @@ 
-/*
- * Freescale imx6dl pinctrl driver
- *
- * Author: Shawn Guo <shawn.guo@linaro.org>
- * Copyright (C) 2013 Freescale Semiconductor, Inc.
- *
- * 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
+//
+// Freescale imx6dl pinctrl driver
+//
+// Author: Shawn Guo <shawn.guo@linaro.org>
+// Copyright (C) 2013 Freescale Semiconductor, Inc.
 
 #include <linux/err.h>
 #include <linux/init.h>
diff --git a/drivers/pinctrl/freescale/pinctrl-imx6q.c b/drivers/pinctrl/freescale/pinctrl-imx6q.c
index 5f653d6..078ed6a 100644
--- a/drivers/pinctrl/freescale/pinctrl-imx6q.c
+++ b/drivers/pinctrl/freescale/pinctrl-imx6q.c
@@ -1,16 +1,11 @@ 
-/*
- * imx6q pinctrl driver based on imx pinmux core
- *
- * Copyright (C) 2012 Freescale Semiconductor, Inc.
- * Copyright (C) 2012 Linaro, Inc.
- *
- * Author: Dong Aisheng <dong.aisheng@linaro.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- */
+// SPDX-License-Identifier: GPL-2.0+
+//
+// imx6q pinctrl driver based on imx pinmux core
+//
+// Copyright (C) 2012 Freescale Semiconductor, Inc.
+// Copyright (C) 2012 Linaro, Inc.
+//
+// Author: Dong Aisheng <dong.aisheng@linaro.org>
 
 #include <linux/err.h>
 #include <linux/init.h>
diff --git a/drivers/pinctrl/freescale/pinctrl-imx6sl.c b/drivers/pinctrl/freescale/pinctrl-imx6sl.c
index 1167dc2..9d2e6f9 100644
--- a/drivers/pinctrl/freescale/pinctrl-imx6sl.c
+++ b/drivers/pinctrl/freescale/pinctrl-imx6sl.c
@@ -1,13 +1,9 @@ 
-/*
- * Freescale imx6sl pinctrl driver
- *
- * Author: Shawn Guo <shawn.guo@linaro.org>
- * Copyright (C) 2013 Freescale Semiconductor, Inc.
- *
- * 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
+//
+// Freescale imx6sl pinctrl driver
+//
+// Author: Shawn Guo <shawn.guo@linaro.org>
+// Copyright (C) 2013 Freescale Semiconductor, Inc.
 
 #include <linux/err.h>
 #include <linux/init.h>
diff --git a/drivers/pinctrl/freescale/pinctrl-imx6sll.c b/drivers/pinctrl/freescale/pinctrl-imx6sll.c
index 0fbea9c..0618f4d 100644
--- a/drivers/pinctrl/freescale/pinctrl-imx6sll.c
+++ b/drivers/pinctrl/freescale/pinctrl-imx6sll.c
@@ -1,9 +1,7 @@ 
 // SPDX-License-Identifier: GPL-2.0
-/*
- * Copyright (C) 2016 Freescale Semiconductor, Inc.
- * Copyright 2017-2018 NXP.
- *
- */
+//
+// Copyright (C) 2016 Freescale Semiconductor, Inc.
+// Copyright 2017-2018 NXP.
 
 #include <linux/err.h>
 #include <linux/init.h>
diff --git a/drivers/pinctrl/freescale/pinctrl-imx6sx.c b/drivers/pinctrl/freescale/pinctrl-imx6sx.c
index 15ea56c..c7e2b1f 100644
--- a/drivers/pinctrl/freescale/pinctrl-imx6sx.c
+++ b/drivers/pinctrl/freescale/pinctrl-imx6sx.c
@@ -1,13 +1,9 @@ 
-/*
- * Freescale imx6sx pinctrl driver
- *
- * Author: Anson Huang <Anson.Huang@freescale.com>
- * Copyright (C) 2014 Freescale Semiconductor, Inc.
- *
- * 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
+//
+// Freescale imx6sx pinctrl driver
+//
+// Author: Anson Huang <Anson.Huang@freescale.com>
+// Copyright (C) 2014 Freescale Semiconductor, Inc.
 
 #include <linux/err.h>
 #include <linux/init.h>
diff --git a/drivers/pinctrl/freescale/pinctrl-imx6ul.c b/drivers/pinctrl/freescale/pinctrl-imx6ul.c
index 4580717..7e37627 100644
--- a/drivers/pinctrl/freescale/pinctrl-imx6ul.c
+++ b/drivers/pinctrl/freescale/pinctrl-imx6ul.c
@@ -1,13 +1,9 @@ 
-/*
- * Freescale imx6ul pinctrl driver
- *
- * Author: Anson Huang <Anson.Huang@freescale.com>
- * Copyright (C) 2015 Freescale Semiconductor, Inc.
- *
- * 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
+//
+// Freescale imx6ul pinctrl driver
+//
+// Author: Anson Huang <Anson.Huang@freescale.com>
+// Copyright (C) 2015 Freescale Semiconductor, Inc.
 
 #include <linux/err.h>
 #include <linux/init.h>
diff --git a/drivers/pinctrl/freescale/pinctrl-imx7d.c b/drivers/pinctrl/freescale/pinctrl-imx7d.c
index 0b0a2f3..369d3e5 100644
--- a/drivers/pinctrl/freescale/pinctrl-imx7d.c
+++ b/drivers/pinctrl/freescale/pinctrl-imx7d.c
@@ -1,13 +1,9 @@ 
-/*
- * Freescale imx7d pinctrl driver
- *
- * Author: Anson Huang <Anson.Huang@freescale.com>
- * Copyright (C) 2014-2015 Freescale Semiconductor, Inc.
- *
- * 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
+//
+// Freescale imx7d pinctrl driver
+//
+// Author: Anson Huang <Anson.Huang@freescale.com>
+// Copyright (C) 2014-2015 Freescale Semiconductor, Inc.
 
 #include <linux/err.h>
 #include <linux/init.h>
diff --git a/drivers/pinctrl/freescale/pinctrl-imx7ulp.c b/drivers/pinctrl/freescale/pinctrl-imx7ulp.c
index f363e45fd2..f521bdb 100644
--- a/drivers/pinctrl/freescale/pinctrl-imx7ulp.c
+++ b/drivers/pinctrl/freescale/pinctrl-imx7ulp.c
@@ -1,14 +1,9 @@ 
-/*
- * Copyright (C) 2016 Freescale Semiconductor, Inc.
- * Copyright (C) 2017 NXP
- *
- * Author: Dong Aisheng <aisheng.dong@nxp.com>
- *
- * 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 Freescale Semiconductor, Inc.
+// Copyright (C) 2017 NXP
+//
+// Author: Dong Aisheng <aisheng.dong@nxp.com>
 
 #include <linux/err.h>
 #include <linux/init.h>
diff --git a/drivers/pinctrl/freescale/pinctrl-mxs.c b/drivers/pinctrl/freescale/pinctrl-mxs.c
index 6852010..594f3e5 100644
--- a/drivers/pinctrl/freescale/pinctrl-mxs.c
+++ b/drivers/pinctrl/freescale/pinctrl-mxs.c
@@ -1,13 +1,6 @@ 
-/*
- * Copyright 2012 Freescale Semiconductor, Inc.
- *
- * The code contained herein is licensed under the GNU General Public
- * License. You may obtain a copy of the GNU General Public License
- * Version 2 or later at the following locations:
- *
- * http://www.opensource.org/licenses/gpl-license.html
- * http://www.gnu.org/copyleft/gpl.html
- */
+// SPDX-License-Identifier: GPL-2.0+
+//
+// Copyright 2012 Freescale Semiconductor, Inc.
 
 #include <linux/err.h>
 #include <linux/init.h>
diff --git a/drivers/pinctrl/freescale/pinctrl-mxs.h b/drivers/pinctrl/freescale/pinctrl-mxs.h
index 34dbf75..ab9f834 100644
--- a/drivers/pinctrl/freescale/pinctrl-mxs.h
+++ b/drivers/pinctrl/freescale/pinctrl-mxs.h
@@ -1,12 +1,6 @@ 
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Copyright 2012 Freescale Semiconductor, Inc.
- *
- * The code contained herein is licensed under the GNU General Public
- * License. You may obtain a copy of the GNU General Public License
- * Version 2 or later at the following locations:
- *
- * http://www.opensource.org/licenses/gpl-license.html
- * http://www.gnu.org/copyleft/gpl.html
  */
 
 #ifndef __PINCTRL_MXS_H
diff --git a/drivers/pinctrl/freescale/pinctrl-vf610.c b/drivers/pinctrl/freescale/pinctrl-vf610.c
index c078f85..37602b05 100644
--- a/drivers/pinctrl/freescale/pinctrl-vf610.c
+++ b/drivers/pinctrl/freescale/pinctrl-vf610.c
@@ -1,13 +1,8 @@ 
-/*
- * VF610 pinctrl driver based on imx pinmux and pinconf core
- *
- * Copyright 2013 Freescale Semiconductor, Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- */
+// SPDX-License-Identifier: GPL-2.0+
+//
+// VF610 pinctrl driver based on imx pinmux and pinconf core
+//
+// Copyright 2013 Freescale Semiconductor, Inc.
 
 #include <linux/err.h>
 #include <linux/init.h>