lkml.org 
[lkml]   [2017]   [Dec]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4/7] MIPS: Loongson64: cleanup all lemote-2f files to use SPDX Identifier
    Date
    To reduce unnecessary license text.

    Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
    ---
    arch/mips/loongson64/lemote-2f/Makefile | 1 +
    arch/mips/loongson64/lemote-2f/clock.c | 5 ++---
    arch/mips/loongson64/lemote-2f/ec_kb3310b.c | 6 ++----
    arch/mips/loongson64/lemote-2f/irq.c | 6 ++----
    arch/mips/loongson64/lemote-2f/machtype.c | 6 ++----
    arch/mips/loongson64/lemote-2f/pm.c | 6 ++----
    arch/mips/loongson64/lemote-2f/reset.c | 6 ++----
    7 files changed, 13 insertions(+), 23 deletions(-)

    diff --git a/arch/mips/loongson64/lemote-2f/Makefile b/arch/mips/loongson64/lemote-2f/Makefile
    index 31c90737b98c..d81fdf50eaa4 100644
    --- a/arch/mips/loongson64/lemote-2f/Makefile
    +++ b/arch/mips/loongson64/lemote-2f/Makefile
    @@ -1,3 +1,4 @@
    +# SPDX-License-Identifier: GPL-2.0
    #
    # Makefile for lemote loongson2f family machines
    #
    diff --git a/arch/mips/loongson64/lemote-2f/clock.c b/arch/mips/loongson64/lemote-2f/clock.c
    index 8281334df9c8..f8847e78a03e 100644
    --- a/arch/mips/loongson64/lemote-2f/clock.c
    +++ b/arch/mips/loongson64/lemote-2f/clock.c
    @@ -1,10 +1,9 @@
    +/* SPDX-License-Identifier: GPL-2.0 */
    +
    /*
    * Copyright (C) 2006 - 2008 Lemote Inc. & Institute of Computing Technology
    * Author: Yanhua, yanh@lemote.com
    *
    - * This file is subject to the terms and conditions of the GNU General Public
    - * License. See the file "COPYING" in the main directory of this archive
    - * for more details.
    */
    #include <linux/clk.h>
    #include <linux/cpufreq.h>
    diff --git a/arch/mips/loongson64/lemote-2f/ec_kb3310b.c b/arch/mips/loongson64/lemote-2f/ec_kb3310b.c
    index 6e416d55b42a..7b0b5727aaba 100644
    --- a/arch/mips/loongson64/lemote-2f/ec_kb3310b.c
    +++ b/arch/mips/loongson64/lemote-2f/ec_kb3310b.c
    @@ -1,13 +1,11 @@
    +/* SPDX-License-Identifier: GPL-2.0 */
    +
    /*
    * Basic KB3310B Embedded Controller support for the YeeLoong 2F netbook
    *
    * Copyright (C) 2008 Lemote Inc.
    * Author: liujl <liujl@lemote.com>, 2008-04-20
    *
    - * 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.
    */

    #include <linux/io.h>
    diff --git a/arch/mips/loongson64/lemote-2f/irq.c b/arch/mips/loongson64/lemote-2f/irq.c
    index 9e33e45aa17c..6db9800bdfba 100644
    --- a/arch/mips/loongson64/lemote-2f/irq.c
    +++ b/arch/mips/loongson64/lemote-2f/irq.c
    @@ -1,11 +1,9 @@
    +/* SPDX-License-Identifier: GPL-2.0 */
    +
    /*
    * Copyright (C) 2007 Lemote Inc.
    * Author: Fuxin Zhang, zhangfx@lemote.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.
    */

    #include <linux/export.h>
    diff --git a/arch/mips/loongson64/lemote-2f/machtype.c b/arch/mips/loongson64/lemote-2f/machtype.c
    index b55e6eece5e0..2f0f11811d45 100644
    --- a/arch/mips/loongson64/lemote-2f/machtype.c
    +++ b/arch/mips/loongson64/lemote-2f/machtype.c
    @@ -1,11 +1,9 @@
    +/* SPDX-License-Identifier: GPL-2.0 */
    +
    /*
    * Copyright (C) 2009 Lemote Inc.
    * Author: Wu Zhangjin, wuzhangjin@gmail.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.
    */
    #include <asm/bootinfo.h>

    diff --git a/arch/mips/loongson64/lemote-2f/pm.c b/arch/mips/loongson64/lemote-2f/pm.c
    index 0768739155f6..f7e8318424b6 100644
    --- a/arch/mips/loongson64/lemote-2f/pm.c
    +++ b/arch/mips/loongson64/lemote-2f/pm.c
    @@ -1,13 +1,11 @@
    +/* SPDX-License-Identifier: GPL-2.0 */
    +
    /*
    * Lemote loongson2f family machines' specific suspend support
    *
    * Copyright (C) 2009 Lemote Inc.
    * Author: Wu Zhangjin <wuzhangjin@gmail.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.
    */

    #include <linux/suspend.h>
    diff --git a/arch/mips/loongson64/lemote-2f/reset.c b/arch/mips/loongson64/lemote-2f/reset.c
    index 2b72b197c51d..26ff59df5c48 100644
    --- a/arch/mips/loongson64/lemote-2f/reset.c
    +++ b/arch/mips/loongson64/lemote-2f/reset.c
    @@ -1,3 +1,5 @@
    +/* SPDX-License-Identifier: GPL-2.0 */
    +
    /* Board-specific reboot/shutdown routines
    *
    * Copyright (c) 2009 Philippe Vachon <philippe@cowpig.ca>
    @@ -5,10 +7,6 @@
    * Copyright (C) 2009 Lemote Inc.
    * Author: Wu Zhangjin, wuzhangjin@gmail.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.
    */

    #include <linux/io.h>
    --
    2.15.1
    \
     
     \ /
      Last update: 2017-12-26 14:26    [W:3.486 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site