From 863cebf31265c910e7ad5c8256c706c8dabdbcd0 Mon Sep 17 00:00:00 2001 From: Laxman Dewangan Date: Wed, 19 Apr 2023 13:00:12 +0000 Subject: [PATCH] dev-freq: Use SPDX license GPL 2.0 format Use SPDX license GPL-V2.0 format and change Nvidia copyright year to include 2023. Bug 4078035 Change-Id: I386f82eec7ead65f0c3c6195004f2f9d6c8a3f74 Signed-off-by: Laxman Dewangan Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2891210 Reviewed-by: svcacv Reviewed-by: Johnny Liu GVS: Gerrit_Virtual_Submit --- drivers/devfreq/governor_pod_scaling.c | 15 ++------------- drivers/devfreq/governor_pod_scaling_v2.c | 15 ++------------- drivers/devfreq/governor_v2.h | 5 ++--- drivers/devfreq/governor_wmark_active.c | 15 ++------------- drivers/devfreq/governor_wmark_simple.c | 15 ++------------- include/trace/events/nvhost_podgov.h | 14 +++----------- 6 files changed, 13 insertions(+), 66 deletions(-) diff --git a/drivers/devfreq/governor_pod_scaling.c b/drivers/devfreq/governor_pod_scaling.c index 7044832f..bbbadbb4 100644 --- a/drivers/devfreq/governor_pod_scaling.c +++ b/drivers/devfreq/governor_pod_scaling.c @@ -1,17 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* - * Copyright (c) 2012-2020, 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 . + * Copyright (c) 2012-2023, NVIDIA CORPORATION. All rights reserved. */ /* diff --git a/drivers/devfreq/governor_pod_scaling_v2.c b/drivers/devfreq/governor_pod_scaling_v2.c index 6bd1d367..6f7552c6 100644 --- a/drivers/devfreq/governor_pod_scaling_v2.c +++ b/drivers/devfreq/governor_pod_scaling_v2.c @@ -1,17 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* - * Copyright (c) 2012-2022, 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 . + * Copyright (c) 2012-2023, NVIDIA CORPORATION. All rights reserved. */ /* diff --git a/drivers/devfreq/governor_v2.h b/drivers/devfreq/governor_v2.h index 9cf58ecb..765896bb 100644 --- a/drivers/devfreq/governor_v2.h +++ b/drivers/devfreq/governor_v2.h @@ -1,11 +1,10 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* - * governor.h - internal header for devfreq governors. - * - * Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2022-2023, NVIDIA CORPORATION. All rights reserved. * Copyright (C) 2011 Samsung Electronics * MyungJoo Ham * + * governor.h - internal header for devfreq governors. * This header is for devfreq governors in drivers/devfreq/ */ #if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 11, 0) && LINUX_VERSION_CODE < KERNEL_VERSION(6, 4, 0) diff --git a/drivers/devfreq/governor_wmark_active.c b/drivers/devfreq/governor_wmark_active.c index 35abc312..9852c893 100644 --- a/drivers/devfreq/governor_wmark_active.c +++ b/drivers/devfreq/governor_wmark_active.c @@ -1,17 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* - * Copyright (c) 2014-2022, 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 . + * Copyright (c) 2014-2023, NVIDIA CORPORATION. All rights reserved. */ #include diff --git a/drivers/devfreq/governor_wmark_simple.c b/drivers/devfreq/governor_wmark_simple.c index cfea8e6c..631fd775 100644 --- a/drivers/devfreq/governor_wmark_simple.c +++ b/drivers/devfreq/governor_wmark_simple.c @@ -1,17 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* - * Copyright (c) 2014, 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 . + * Copyright (c) 2014-2023, NVIDIA CORPORATION. All rights reserved. */ #include diff --git a/include/trace/events/nvhost_podgov.h b/include/trace/events/nvhost_podgov.h index ce85d040..8c63d29b 100644 --- a/include/trace/events/nvhost_podgov.h +++ b/include/trace/events/nvhost_podgov.h @@ -1,16 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* + * Copyright (c) 2013-2023, NVIDIA Corporation. All rights reserved. + * * Nvhost event logging to ftrace. - * - * Copyright (c) 2013-2019, 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. */ #undef TRACE_SYSTEM