Quellcode durchsuchen

platform/x86: intel_cht_int33fe: Convert to use SPDX identifier

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>
Andy Shevchenko vor 6 Jahren
Ursprung
Commit
83e8ee26cb
1 geänderte Dateien mit 2 neuen und 5 gelöschten Zeilen
  1. 2 5
      drivers/platform/x86/intel_cht_int33fe.c

+ 2 - 5
drivers/platform/x86/intel_cht_int33fe.c

@@ -1,12 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
 /*
  * Intel Cherry Trail ACPI INT33FE pseudo device driver
  * Intel Cherry Trail ACPI INT33FE pseudo device driver
  *
  *
  * Copyright (C) 2017 Hans de Goede <hdegoede@redhat.com>
  * Copyright (C) 2017 Hans de Goede <hdegoede@redhat.com>
  *
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
  * Some Intel Cherry Trail based device which ship with Windows 10, have
  * Some Intel Cherry Trail based device which ship with Windows 10, have
  * this weird INT33FE ACPI device with a CRS table with 4 I2cSerialBusV2
  * this weird INT33FE ACPI device with a CRS table with 4 I2cSerialBusV2
  * resources, for 4 different chips attached to various i2c busses:
  * resources, for 4 different chips attached to various i2c busses:
@@ -266,4 +263,4 @@ module_i2c_driver(cht_int33fe_driver);
 
 
 MODULE_DESCRIPTION("Intel Cherry Trail ACPI INT33FE pseudo device driver");
 MODULE_DESCRIPTION("Intel Cherry Trail ACPI INT33FE pseudo device driver");
 MODULE_AUTHOR("Hans de Goede <hdegoede@redhat.com>");
 MODULE_AUTHOR("Hans de Goede <hdegoede@redhat.com>");
-MODULE_LICENSE("GPL");
+MODULE_LICENSE("GPL v2");