pinctrl: samsung: Add SPDX license identifiers
Subsystems (4)
Krzysztof Kozlowski
maintainerPATCH 1/1 pinctrl: samsung: Add SPDX license identifiers
Replace GPL license statements with SPDX GPL-2.0+ license identifiers.
Signed-off-by Krzysztof Kozlowski <[email protected]>
--- drivers/pinctrl/samsung/Kconfig | 1 + drivers/pinctrl/samsung/pinctrl-exynos-arm.c | 33 ++++++++++------------- drivers/pinctrl/samsung/pinctrl-exynos-arm64.c | 33 ++++++++++------------- drivers/pinctrl/samsung/pinctrl-exynos.c | 33 ++++++++++------------- drivers/pinctrl/samsung/pinctrl-exynos.h | 6 +---- drivers/pinctrl/samsung/pinctrl-exynos5440.c | 21 ++++++--------- drivers/pinctrl/samsung/pinctrl-s3c24xx.c | 23 +++++++--------- drivers/pinctrl/samsung/pinctrl-s3c64xx.c | 27 ++++++++----------- drivers/pinctrl/samsung/pinctrl-samsung.c | 37 +++++++++++--------------- drivers/pinctrl/samsung/pinctrl-samsung.h | 6 +---- 10 files changed, 89 insertions(+), 131 deletions(-)
drivers/pinctrl/samsung/Kconfig +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Samsung Pin control drivers #
drivers/pinctrl/samsung/pinctrl-exynos-arm.c +14 -19
@@ -1,22 +1,17 @@ -/* -* Exynos specific support for Samsung pinctrl/gpiolib driver with eint support. -* -* Copyright (c) 2012 Samsung Electronics Co., Ltd. -* http://www.samsung.com -* Copyright (c) 2012 Linaro Ltd -* http://www.linaro.org -* -* Author: Thomas Abraham <[email protected]> -* -* 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. -* -* This file contains the Samsung Exynos specific information required by the -* the Samsung pinctrl/gpiolib driver. It also includes the implementation of -* external gpio and wakeup interrupt support. -*/ +// SPDX-License-Identifier: GPL-2.0+ +// +// Exynos specific support for Samsung pinctrl/gpiolib driver with eint support. +// +// Copyright (c) 2012 Samsung Electronics Co., Ltd. +// http://www.samsung.com +// Copyright (c) 2012 Linaro Ltd +// http://www.linaro.org +// +// Author: Thomas Abraham <[email protected]> +// +// This file contains the Samsung Exynos specific information required by the +// the Samsung pinctrl/gpiolib driver. It also includes the implementation of +// external gpio and wakeup interrupt support. #include <linux/device.h> #include <linux/of_address.h>
drivers/pinctrl/samsung/pinctrl-exynos-arm64.c +14 -19
@@ -1,22 +1,17 @@ -/* -* Exynos ARMv8 specific support for Samsung pinctrl/gpiolib driver -* with eint support. -* -* Copyright (c) 2012 Samsung Electronics Co., Ltd. -* http://www.samsung.com -* Copyright (c) 2012 Linaro Ltd -* http://www.linaro.org -* Copyright (c) 2017 Krzysztof Kozlowski <[email protected]> -* -* 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. -* -* This file contains the Samsung Exynos specific information required by the -* the Samsung pinctrl/gpiolib driver. It also includes the implementation of -* external gpio and wakeup interrupt support. -*/ +// SPDX-License-Identifier: GPL-2.0+ +// +// Exynos ARMv8 specific support for Samsung pinctrl/gpiolib driver +// with eint support. +// +// Copyright (c) 2012 Samsung Electronics Co., Ltd. +// http://www.samsung.com +// Copyright (c) 2012 Linaro Ltd +// http://www.linaro.org +// Copyright (c) 2017 Krzysztof Kozlowski <[email protected]> +// +// This file contains the Samsung Exynos specific information required by the +// the Samsung pinctrl/gpiolib driver. It also includes the implementation of +// external gpio and wakeup interrupt support. #include <linux/slab.h> #include <linux/soc/samsung/exynos-regs-pmu.h>
drivers/pinctrl/samsung/pinctrl-exynos.c +14 -19
@@ -1,22 +1,17 @@ -/* -* Exynos specific support for Samsung pinctrl/gpiolib driver with eint support. -* -* Copyright (c) 2012 Samsung Electronics Co., Ltd. -* http://www.samsung.com -* Copyright (c) 2012 Linaro Ltd -* http://www.linaro.org -* -* Author: Thomas Abraham <[email protected]> -* -* 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. -* -* This file contains the Samsung Exynos specific information required by the -* the Samsung pinctrl/gpiolib driver. It also includes the implementation of -* external gpio and wakeup interrupt support. -*/ +// SPDX-License-Identifier: GPL-2.0+ +// +// Exynos specific support for Samsung pinctrl/gpiolib driver with eint support. +// +// Copyright (c) 2012 Samsung Electronics Co., Ltd. +// http://www.samsung.com +// Copyright (c) 2012 Linaro Ltd +// http://www.linaro.org +// +// Author: Thomas Abraham <[email protected]> +// +// This file contains the Samsung Exynos specific information required by the +// the Samsung pinctrl/gpiolib driver. It also includes the implementation of +// external gpio and wakeup interrupt support. #include <linux/device.h> #include <linux/interrupt.h>
drivers/pinctrl/samsung/pinctrl-exynos.h +1 -5
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Exynos specific definitions for Samsung pinctrl and gpiolib driver. *
@@ -10,11 +11,6 @@* pinctrl/gpiolib interface drivers. * * Author: Thomas Abraham <[email protected]> -* -* 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 __PINCTRL_SAMSUNG_EXYNOS_H
drivers/pinctrl/samsung/pinctrl-exynos5440.c +8 -13
@@ -1,16 +1,11 @@ -/* -* pin-controller/pin-mux/pin-config/gpio-driver for Samsung's EXYNOS5440 SoC. -* -* Author: Thomas Abraham <[email protected]> -* -* Copyright (c) 2012 Samsung Electronics Co., Ltd. -* http://www.samsung.com -* -* 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+ +// +// pin-controller/pin-mux/pin-config/gpio-driver for Samsung's EXYNOS5440 SoC. +// +// Author: Thomas Abraham <[email protected]> +// +// Copyright (c) 2012 Samsung Electronics Co., Ltd. +// http://www.samsung.com #include <linux/init.h> #include <linux/platform_device.h>
drivers/pinctrl/samsung/pinctrl-s3c24xx.c +9 -14
@@ -1,17 +1,12 @@ -/* -* S3C24XX specific support for Samsung pinctrl/gpiolib driver. -* -* Copyright (c) 2013 Heiko Stuebner <[email protected]> -* -* 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. -* -* This file contains the SamsungS3C24XX specific information required by the -* Samsung pinctrl/gpiolib driver. It also includes the implementation of -* external gpio and wakeup interrupt support. -*/ +// SPDX-License-Identifier: GPL-2.0+ +// +// S3C24XX specific support for Samsung pinctrl/gpiolib driver. +// +// Copyright (c) 2013 Heiko Stuebner <[email protected]> +// +// This file contains the SamsungS3C24XX specific information required by the +// Samsung pinctrl/gpiolib driver. It also includes the implementation of +// external gpio and wakeup interrupt support. #include <linux/init.h> #include <linux/device.h>
drivers/pinctrl/samsung/pinctrl-s3c64xx.c +11 -16
@@ -1,19 +1,14 @@ -/* -* S3C64xx specific support for pinctrl-samsung driver. -* -* Copyright (c) 2013 Tomasz Figa <[email protected]> -* -* Based on pinctrl-exynos.c, please see the file for original copyrights. -* -* 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. -* -* This file contains the Samsung S3C64xx specific information required by the -* the Samsung pinctrl/gpiolib driver. It also includes the implementation of -* external gpio and wakeup interrupt support. -*/ +// SPDX-License-Identifier: GPL-2.0+ +// +// S3C64xx specific support for pinctrl-samsung driver. +// +// Copyright (c) 2013 Tomasz Figa <[email protected]> +// +// Based on pinctrl-exynos.c, please see the file for original copyrights. +// +// This file contains the Samsung S3C64xx specific information required by the +// the Samsung pinctrl/gpiolib driver. It also includes the implementation of +// external gpio and wakeup interrupt support. #include <linux/init.h> #include <linux/device.h>
drivers/pinctrl/samsung/pinctrl-samsung.c +16 -21
@@ -1,24 +1,19 @@ -/* -* pin-controller/pin-mux/pin-config/gpio-driver for Samsung's SoC's. -* -* Copyright (c) 2012 Samsung Electronics Co., Ltd. -* http://www.samsung.com -* Copyright (c) 2012 Linaro Ltd -* http://www.linaro.org -* -* Author: Thomas Abraham <[email protected]> -* -* 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. -* -* This driver implements the Samsung pinctrl driver. It supports setting up of -* pinmux and pinconf configurations. The gpiolib interface is also included. -* External interrupt (gpio and wakeup) support are not included in this driver -* but provides extensions to which platform specific implementation of the gpio -* and wakeup interrupts can be hooked to. -*/ +// SPDX-License-Identifier: GPL-2.0+ +// +// pin-controller/pin-mux/pin-config/gpio-driver for Samsung's SoC's. +// +// Copyright (c) 2012 Samsung Electronics Co., Ltd. +// http://www.samsung.com +// Copyright (c) 2012 Linaro Ltd +// http://www.linaro.org +// +// Author: Thomas Abraham <[email protected]> +// +// This driver implements the Samsung pinctrl driver. It supports setting up of +// pinmux and pinconf configurations. The gpiolib interface is also included. +// External interrupt (gpio and wakeup) support are not included in this driver +// but provides extensions to which platform specific implementation of the gpio +// and wakeup interrupts can be hooked to. #include <linux/init.h> #include <linux/platform_device.h>
drivers/pinctrl/samsung/pinctrl-samsung.h +1 -5
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * pin-controller/pin-mux/pin-config/gpio-driver for Samsung's SoC's. *
@@ -7,11 +8,6 @@* http://www.linaro.org * * Author: Thomas Abraham <[email protected]> -* -* 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 __PINCTRL_SAMSUNG_H
Signature · 1 line
2.7.4
Quoted 3 lines · Krzysztof Kozlowski
Replace GPL license statements with SPDX GPL-2.0+ license identifiers.
Signed-off-by Krzysztof Kozlowski <[email protected]>
Patch applied.
Yours,
Linus Walleij