lkml.org 
[lkml]   [2018]   [Sep]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v1 06/28] platform/x86: intel-ips: Convert to use SPDX identifier
    Date
    Reduce size of duplicated comments by switching to use SPDX identifier.

    No functional change.

    While here, correct MODULE_LICENSE() string to be aligned with license text.

    Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
    ---
    drivers/platform/x86/intel_ips.c | 15 ++-------------
    drivers/platform/x86/intel_ips.h | 13 +------------
    2 files changed, 3 insertions(+), 25 deletions(-)

    diff --git a/drivers/platform/x86/intel_ips.c b/drivers/platform/x86/intel_ips.c
    index c5ece7ef08c6..225638a1b09e 100644
    --- a/drivers/platform/x86/intel_ips.c
    +++ b/drivers/platform/x86/intel_ips.c
    @@ -1,18 +1,7 @@
    +// SPDX-License-Identifier: GPL-2.0
    /*
    * Copyright (c) 2009-2010 Intel Corporation
    *
    - * 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.
    - *
    - * The full GNU General Public License is included in this distribution in
    - * the file called "COPYING".
    - *
    * Authors:
    * Jesse Barnes <jbarnes@virtuousgeek.org>
    */
    @@ -1697,6 +1686,6 @@ static struct pci_driver ips_pci_driver = {

    module_pci_driver(ips_pci_driver);

    -MODULE_LICENSE("GPL");
    +MODULE_LICENSE("GPL v2");
    MODULE_AUTHOR("Jesse Barnes <jbarnes@virtuousgeek.org>");
    MODULE_DESCRIPTION("Intelligent Power Sharing Driver");
    diff --git a/drivers/platform/x86/intel_ips.h b/drivers/platform/x86/intel_ips.h
    index 60f4e3ddbe9f..512ad234ad0d 100644
    --- a/drivers/platform/x86/intel_ips.h
    +++ b/drivers/platform/x86/intel_ips.h
    @@ -1,17 +1,6 @@
    +// SPDX-License-Identifier: GPL-2.0
    /*
    * Copyright (c) 2010 Intel Corporation
    - *
    - * 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.
    - *
    - * The full GNU General Public License is included in this distribution in
    - * the file called "COPYING".
    */

    void ips_link_to_i915_driver(void);
    --
    2.19.0
    \
     
     \ /
      Last update: 2018-09-26 18:53    [W:3.948 / U:0.488 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site