lkml.org 
[lkml]   [2018]   [May]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4/5] rpmsg: glink: Switch to SPDX license identifier
    Date
    Use the appropriate SPDX license identifier in various rpmsg
    glink driver source files and drop the previous boilerplate
    license text.

    Signed-off-by: Suman Anna <s-anna@ti.com>
    ---
    drivers/rpmsg/qcom_glink_native.c | 10 +---------
    drivers/rpmsg/qcom_glink_native.h | 10 +---------
    drivers/rpmsg/qcom_glink_rpm.c | 10 +---------
    drivers/rpmsg/qcom_glink_smem.c | 10 +---------
    include/linux/rpmsg/qcom_glink.h | 2 ++
    5 files changed, 6 insertions(+), 36 deletions(-)

    diff --git a/drivers/rpmsg/qcom_glink_native.c b/drivers/rpmsg/qcom_glink_native.c
    index 768ef542a841..f505f58b797d 100644
    --- a/drivers/rpmsg/qcom_glink_native.c
    +++ b/drivers/rpmsg/qcom_glink_native.c
    @@ -1,14 +1,6 @@
    +// SPDX-License-Identifier: GPL-2.0
    /*
    * Copyright (c) 2016-2017, Linaro Ltd
    - *
    - * This program is free software; you can redistribute it and/or modify
    - * it under the terms of the GNU General Public License version 2 and
    - * only version 2 as published by the Free Software Foundation.
    - *
    - * This program is distributed in the hope that 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.
    */

    #include <linux/idr.h>
    diff --git a/drivers/rpmsg/qcom_glink_native.h b/drivers/rpmsg/qcom_glink_native.h
    index 0cae8a8199f8..624184fc458e 100644
    --- a/drivers/rpmsg/qcom_glink_native.h
    +++ b/drivers/rpmsg/qcom_glink_native.h
    @@ -1,14 +1,6 @@
    +/* SPDX-License-Identifier: GPL-2.0 */
    /*
    * Copyright (c) 2016-2017, Linaro Ltd
    - *
    - * This program is free software; you can redistribute it and/or modify
    - * it under the terms of the GNU General Public License version 2 and
    - * only version 2 as published by the Free Software Foundation.
    - *
    - * This program is distributed in the hope that 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.
    */

    #ifndef __QCOM_GLINK_NATIVE_H__
    diff --git a/drivers/rpmsg/qcom_glink_rpm.c b/drivers/rpmsg/qcom_glink_rpm.c
    index 69b25d157d0f..f64f45d1a735 100644
    --- a/drivers/rpmsg/qcom_glink_rpm.c
    +++ b/drivers/rpmsg/qcom_glink_rpm.c
    @@ -1,14 +1,6 @@
    +// SPDX-License-Identifier: GPL-2.0
    /*
    * Copyright (c) 2016-2017, Linaro Ltd
    - *
    - * This program is free software; you can redistribute it and/or modify
    - * it under the terms of the GNU General Public License version 2 and
    - * only version 2 as published by the Free Software Foundation.
    - *
    - * This program is distributed in the hope that 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.
    */

    #include <linux/idr.h>
    diff --git a/drivers/rpmsg/qcom_glink_smem.c b/drivers/rpmsg/qcom_glink_smem.c
    index 3fa9d43e2c87..2b5cf2790954 100644
    --- a/drivers/rpmsg/qcom_glink_smem.c
    +++ b/drivers/rpmsg/qcom_glink_smem.c
    @@ -1,14 +1,6 @@
    +// SPDX-License-Identifier: GPL-2.0
    /*
    * Copyright (c) 2016, Linaro Ltd
    - *
    - * This program is free software; you can redistribute it and/or modify
    - * it under the terms of the GNU General Public License version 2 and
    - * only version 2 as published by the Free Software Foundation.
    - *
    - * This program is distributed in the hope that 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.
    */

    #include <linux/io.h>
    diff --git a/include/linux/rpmsg/qcom_glink.h b/include/linux/rpmsg/qcom_glink.h
    index a622f029836e..96e26d94719f 100644
    --- a/include/linux/rpmsg/qcom_glink.h
    +++ b/include/linux/rpmsg/qcom_glink.h
    @@ -1,3 +1,5 @@
    +/* SPDX-License-Identifier: GPL-2.0 */
    +
    #ifndef _LINUX_RPMSG_QCOM_GLINK_H
    #define _LINUX_RPMSG_QCOM_GLINK_H

    --
    2.17.0
    \
     
     \ /
      Last update: 2018-05-31 19:12    [W:8.334 / U:0.244 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site