Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

rpmsg: Switch to SPDX license identifier

Use the appropriate SPDX license identifier in the rpmsg core
source files and drop the previous boilerplate license text.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>

authored by

Suman Anna and committed by
Bjorn Andersson
3e79bfd6 cc1c8445

+5 -44
+2
drivers/rpmsg/Kconfig
··· 1 + # SPDX-License-Identifier: GPL-2.0 2 + 1 3 menu "Rpmsg drivers" 2 4 3 5 # RPMSG always gets selected by whoever wants it
+1 -9
drivers/rpmsg/rpmsg_core.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * remote processor messaging bus 3 4 * ··· 7 6 * 8 7 * Ohad Ben-Cohen <ohad@wizery.com> 9 8 * Brian Swetland <swetland@google.com> 10 - * 11 - * This software is licensed under the terms of the GNU General Public 12 - * License version 2, as published by the Free Software Foundation, and 13 - * may be copied, distributed, and modified under those terms. 14 - * 15 - * This program is distributed in the hope that it will be useful, 16 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 - * GNU General Public License for more details. 19 9 */ 20 10 21 11 #define pr_fmt(fmt) "%s: " fmt, __func__
+1 -9
drivers/rpmsg/rpmsg_internal.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 */ 1 2 /* 2 3 * remote processor messaging bus internals 3 4 * ··· 7 6 * 8 7 * Ohad Ben-Cohen <ohad@wizery.com> 9 8 * Brian Swetland <swetland@google.com> 10 - * 11 - * This software is licensed under the terms of the GNU General Public 12 - * License version 2, as published by the Free Software Foundation, and 13 - * may be copied, distributed, and modified under those terms. 14 - * 15 - * This program is distributed in the hope that it will be useful, 16 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 - * GNU General Public License for more details. 19 9 */ 20 10 21 11 #ifndef __RPMSG_INTERNAL_H__
+1 -26
include/linux/rpmsg.h
··· 1 + /* SPDX-License-Identifier: BSD-3-Clause */ 1 2 /* 2 3 * Remote processor messaging 3 4 * 4 5 * Copyright (C) 2011 Texas Instruments, Inc. 5 6 * Copyright (C) 2011 Google, Inc. 6 7 * All rights reserved. 7 - * 8 - * Redistribution and use in source and binary forms, with or without 9 - * modification, are permitted provided that the following conditions 10 - * are met: 11 - * 12 - * * Redistributions of source code must retain the above copyright 13 - * notice, this list of conditions and the following disclaimer. 14 - * * Redistributions in binary form must reproduce the above copyright 15 - * notice, this list of conditions and the following disclaimer in 16 - * the documentation and/or other materials provided with the 17 - * distribution. 18 - * * Neither the name Texas Instruments nor the names of its 19 - * contributors may be used to endorse or promote products derived 20 - * from this software without specific prior written permission. 21 - * 22 - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 23 - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 24 - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 25 - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 26 - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 27 - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 28 - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 29 - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 30 - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 31 - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 32 - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 33 8 */ 34 9 35 10 #ifndef _LINUX_RPMSG_H