clk: Tag clk core files with SPDX
Stephen Boyd
maintainerPATCH 1/2 clk: Tag clk core files with SPDX
These are all GPL-2.0 files per the existing license text. Replace the boiler plate with the tag.
Signed-off-by Stephen Boyd <[email protected]>
--- drivers/clk/clk-bulk.c | 13 +------------ drivers/clk/clk-conf.c | 5 +---- drivers/clk/clk-devres.c | 7 +------ drivers/clk/clk.c | 5 +---- drivers/clk/clk.h | 7 +------ include/linux/clk-provider.h | 7 +------ include/linux/clk/clk-conf.h | 5 +---- 7 files changed, 7 insertions(+), 42 deletions(-)
drivers/clk/clk-bulk.c +1 -12
@@ -1,19 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright 2017 NXP * * Dong Aisheng <[email protected]> -* -* This program is free software; you can redistribute it and/or modify it -* under the terms and conditions of the GNU General Public License, -* version 2, as published by the Free Software Foundation. -* -* This program is distributed in the hope 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. -* -* You should have received a copy of the GNU General Public License -* along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <linux/clk.h>
drivers/clk/clk-conf.c +1 -4
@@ -1,10 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2014 Samsung Electronics Co., Ltd. * Sylwester Nawrocki <[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. */ #include <linux/clk.h>
drivers/clk/clk-devres.c +1 -6
@@ -1,9 +1,4 @@ -/* -* 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 #include <linux/clk.h> #include <linux/device.h> #include <linux/export.h>
drivers/clk/clk.c +1 -4
@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2010-2011 Canonical Ltd <[email protected]> * Copyright (C) 2011-2012 Linaro Ltd <[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. -* * Standard functionality for the common clock API. See Documentation/driver-api/clk.rst */
drivers/clk/clk.h +1 -6
@@ -1,12 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* -* linux/drivers/clk/clk.h -* * Copyright (C) 2013 Samsung Electronics Co., Ltd. * Sylwester Nawrocki <[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. */ struct clk_hw ;
include/linux/clk-provider.h +1 -6
@@ -1,12 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* -* linux/include/linux/clk-provider.h -* * Copyright (c) 2010-2011 Jeremy Kerr <[email protected]> * Copyright (C) 2011-2012 Linaro Ltd <[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. */ #ifndef __LINUX_CLK_PROVIDER_H#define __LINUX_CLK_PROVIDER_H
include/linux/clk/clk-conf.h +1 -4
@@ -1,10 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2014 Samsung Electronics Co., Ltd. * Sylwester Nawrocki <[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. */ #include <linux/types.h>
Signature · 1 line
Sent by a computer through tubes
Stephen Boyd
maintainerPATCH 2/2 clk: Tag basic clk types with SPDX
These are all GPL-2.0 files per the existing license text. Replace the boiler plate with the tag.
Signed-off-by Stephen Boyd <[email protected]>
--- drivers/clk/clk-composite.c | 13 +------------ drivers/clk/clk-divider.c | 5 +---- drivers/clk/clk-fixed-factor.c | 7 +------ drivers/clk/clk-fixed-rate.c | 5 +---- drivers/clk/clk-fractional-divider.c | 5 +---- drivers/clk/clk-gate.c | 5 +---- drivers/clk/clk-gpio.c | 5 +---- drivers/clk/clk-multiplier.c | 5 +---- drivers/clk/clk-mux.c | 5 +---- 9 files changed, 9 insertions(+), 46 deletions(-)
drivers/clk/clk-composite.c +1 -12
@@ -1,17 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2013 NVIDIA CORPORATION. All rights reserved. -* -* This program is free software; you can redistribute it and/or modify it -* under the terms and conditions of the GNU General Public License, -* version 2, as published by the Free Software Foundation. -* -* This program is distributed in the hope 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. -* -* You should have received a copy of the GNU General Public License -* along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <linux/clk.h>
drivers/clk/clk-divider.c +1 -4
@@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2011 Sascha Hauer, Pengutronix <[email protected]> * Copyright (C) 2011 Richard Zhao, Linaro <[email protected]> * Copyright (C) 2011-2012 Mike Turquette, Linaro Ltd <[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. -* * Adjustable divider clock implementation */
drivers/clk/clk-fixed-factor.c +1 -6
@@ -1,11 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2011 Sascha Hauer, Pengutronix <[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. -* -* Standard functionality for the common clock API. */ #include <linux/module.h> #include <linux/clk-provider.h>
drivers/clk/clk-fixed-rate.c +1 -4
@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2010-2011 Canonical Ltd <[email protected]> * Copyright (C) 2011-2012 Mike Turquette, Linaro Ltd <[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. -* * Fixed rate clock implementation */
drivers/clk/clk-fractional-divider.c +1 -4
@@ -1,10 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2014 Intel Corporation * -* 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. -* * Adjustable fractional divider clock implementation. * Output rate = (m / n) * parent_rate. * Uses rational best approximation algorithm.
drivers/clk/clk-gate.c +1 -4
@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2010-2011 Canonical Ltd <[email protected]> * Copyright (C) 2011-2012 Mike Turquette, Linaro Ltd <[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. -* * Gated clock implementation */
drivers/clk/clk-gpio.c +1 -4
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2013 - 2014 Texas Instruments Incorporated - http://www.ti.com *
@@ -5,10 +6,6 @@* Jyri Sarha <[email protected]> * Sergej Sawazki <[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. -* * Gpio controlled clock implementation */
drivers/clk/clk-multiplier.c +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2015 Maxime Ripard <[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. */ #include <linux/bitops.h>
drivers/clk/clk-mux.c +1 -4
@@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2011 Sascha Hauer, Pengutronix <[email protected]> * Copyright (C) 2011 Richard Zhao, Linaro <[email protected]> * Copyright (C) 2011-2012 Mike Turquette, Linaro Ltd <[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. -* * Simple multiplexer clock implementation */
Signature · 1 line
Sent by a computer through tubes
Re: [PATCH 2/2] clk: Tag basic clk types with SPDX
Quoting Stephen Boyd (2018-12-11 10:02:50)
Quoted 5 lines
These are all GPL-2.0 files per the existing license text. Replace the boiler plate with the tag.
Signed-off-by Stephen Boyd <[email protected]>---
Applied to clk-next
Quoting Stephen Boyd (2018-12-11 10:02:49)
Quoted 5 lines
These are all GPL-2.0 files per the existing license text. Replace the boiler plate with the tag.
Signed-off-by Stephen Boyd <[email protected]>---
Applied to clk-next