staging: fbtft: add SPDX identifiers
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Jan 2018 10:08:54 +0000 (11:08 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Jan 2018 15:03:46 +0000 (16:03 +0100)
It's good to have SPDX identifiers in all files to make it easier to
audit the kernel tree for correct licenses.

Fix up the all of the staging fbtft drivers to have a proper SPDX
identifier, based on the license text in the file itself.  The SPDX
identifier is a legally binding shorthand, which can be used instead of
the full boiler plate text.

This work is based on a script and data from Thomas Gleixner, Philippe
Ombredanne, and Kate Stewart.

Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Kate Stewart <kstewart@linuxfoundation.org>
Cc: Philippe Ombredanne <pombredanne@nexb.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
38 files changed:
drivers/staging/fbtft/fb_agm1264k-fl.c
drivers/staging/fbtft/fb_bd663474.c
drivers/staging/fbtft/fb_hx8340bn.c
drivers/staging/fbtft/fb_hx8347d.c
drivers/staging/fbtft/fb_hx8353d.c
drivers/staging/fbtft/fb_hx8357d.c
drivers/staging/fbtft/fb_hx8357d.h
drivers/staging/fbtft/fb_ili9163.c
drivers/staging/fbtft/fb_ili9320.c
drivers/staging/fbtft/fb_ili9325.c
drivers/staging/fbtft/fb_ili9340.c
drivers/staging/fbtft/fb_ili9341.c
drivers/staging/fbtft/fb_ili9481.c
drivers/staging/fbtft/fb_ili9486.c
drivers/staging/fbtft/fb_pcd8544.c
drivers/staging/fbtft/fb_ra8875.c
drivers/staging/fbtft/fb_s6d02a1.c
drivers/staging/fbtft/fb_s6d1121.c
drivers/staging/fbtft/fb_sh1106.c
drivers/staging/fbtft/fb_ssd1289.c
drivers/staging/fbtft/fb_ssd1305.c
drivers/staging/fbtft/fb_ssd1306.c
drivers/staging/fbtft/fb_ssd1325.c
drivers/staging/fbtft/fb_ssd1331.c
drivers/staging/fbtft/fb_ssd1351.c
drivers/staging/fbtft/fb_st7735r.c
drivers/staging/fbtft/fb_st7789v.c
drivers/staging/fbtft/fb_tinylcd.c
drivers/staging/fbtft/fb_tls8204.c
drivers/staging/fbtft/fb_uc1611.c
drivers/staging/fbtft/fb_uc1701.c
drivers/staging/fbtft/fb_upd161704.c
drivers/staging/fbtft/fb_watterott.c
drivers/staging/fbtft/fbtft-core.c
drivers/staging/fbtft/fbtft.h
drivers/staging/fbtft/fbtft_device.c
drivers/staging/fbtft/flexfb.c
drivers/staging/fbtft/internal.h

index 456a8dd65cafc02bfe6a55b051c595d44361543f..5f2136136202fc25f082c904032918224ad37a19 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * FB driver for Two KS0108 LCD controllers in AGM1264K-FL display
  *
index 6010e6cbbd723d05eab2868d8906b226e17381d5..7319b7fb36aa8591fa65d59009f6f538538eefbe 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * FB driver for the uPD161704 LCD Controller
  *
index fbd5ef5252438f67e78ac7931708c349c2651fec..161acbbb7ac99639ece3883fce1c597bd53a30e1 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * FB driver for the HX8340BN LCD Controller
  *
index bbf78f8644a87341a491d5cca603f5820ee13357..023a064618004f6153cb25e086efce05bc041138 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * FB driver for the HX8347D LCD Controller
  *
index 2c18051a44b32802a5879318b3ae044799d2c8f3..27c5b616df7a51aad5dd91745c384568654c7745 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * FB driver for the HX8353D LCD Controller
  *
index 32e6efe1d0a79c8df97a14e2dbc8614549b0a944..548f6912db565bf879253d223015b829c685938d 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * FB driver for the HX8357D LCD Controller
  * Copyright (C) 2015 Adafruit Industries
index e281921d4a975a4e01778d722abfae0979c2355f..6180b093f94ffae2f83b197e2846d939300c48a7 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: MIT */
 /*
  * This is our library for the Adafruit  ILI9341 Breakout and Shield
  * ----> http://www.adafruit.com/products/1651
index 045cadc3bc65466274e16e6484c65f25865c941b..f0a60b9c9a2bd4cc92479b40be51b7ddaf9c298f 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * FB driver for the ILI9163 LCD Controller
  *
index 20ba86da028ba4dc2eb39dde0e0c5bf0892d42f8..0927743cfe1336b7148e74c2df19ac7272e3f731 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * FB driver for the ILI9320 LCD Controller
  *
index 7f9e9b25490e1e155497efc1c8e1e9aeb43e299d..d54006531a069fc7fbf308cf6fb8afded4e104ca 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * FB driver for the ILI9325 LCD Controller
  *
index 0711121c303c8cee6416170b580ff5c36b8af27c..bea8d9d35a8f9bf078ce5e8a5097463dc3edf9ba 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * FB driver for the ILI9340 LCD Controller
  *
index 21a98e9e1a1477271614487468f31dc6a8fe129d..7d09b3c69e56a3b5cb7e829a5bc04158a763f00e 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * FB driver for the ILI9341 LCD display controller
  *
index 7f182a1c084c2ac11def004e60d9187e8e4e48c7..3c788eaf3b27e56e2cd76bbb941a431c181faf20 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * FB driver for the ILI9481 LCD Controller
  *
index ddd07a64c48aa757bc49d619427594e12943407f..870f31e23e82948757b49621ca2259787b2ef581 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * FB driver for the ILI9486 LCD Controller
  *
index 87f678a314ccf5591ecbf1434848f281f8b951ec..3f38d947a53af2cec598ba780a57ce7f900549cf 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * FB driver for the PCD8544 LCD Controller
  *
index 6d1cad85957bcb2128a2f2ddc97f8d5c30fc291c..1810dd747f6982663abdc62c5c1d4e411d83c5d9 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * FBTFT driver for the RA8875 LCD Controller
  * Copyright by Pf@nne & NOTRO
index c12855bb689108a5418f626ae7485a6d2795d15e..b062095e29d83cc701a0bf1ff3960c10737af8b4 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * FB driver for the S6D02A1 LCD Controller
  *
index 3b36ed50d491a58961cd0580ae906c8017c03f4c..1a124f45472b271a2b01a3ce591d2707819ced55 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * FB driver for the S6D1121 LCD Controller
  *
index 89c27a440305dbf08fc79b9938ef6829890d99f9..a1d4545b853957327cc55b08fc3a1a91de3cf88c 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * FB driver for the SH1106 OLED Controller
  * Based on the SSD1306 driver by Noralf Tronnes
index 129e175fcd7eabb6b0f8f9c0a4b014d9ff3aa708..9bab3fe1485962dec24cc27a07226bae8a1f94d6 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * FB driver for the SSD1289 LCD Controller
  *
index 33c03872ca849ff6d82826191eca556df33fd42e..87d514ab5d5dd5521dd5581202a20577e27a0ea4 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * FB driver for the SSD1305 OLED Controller
  *
index 96c58de85288ed7342e647f63a907311bc348ee8..6c61702422958b5ec4a9e618fb8760d65e6a664e 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * FB driver for the SSD1306 OLED Controller
  *
index b7e40c24f58ed70569a084902377060d24351127..1151fbe917f6f1e5a8e2307ee1c2e5c5b966f9c2 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * FB driver for the SSD1325 OLED Controller
  *
index e4a759b54ba031e4659ad878ff6cf7088433e38b..383e197cf56ad244f492ca59ce9190b09f542a5c 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/init.h>
index e62235d4d9e7ea0466ce5d19c041a97974b88294..b8ef75f5e8568fb41cb1936a0bcbc6b42b61b255 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/init.h>
index d98522a393447aa4ab7243c905394cc76c259464..91b2e781ff945f68fa622b2b6c1e1194acd7ace8 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * FB driver for the ST7735R LCD Controller
  *
index a5d7c87557f854024c30095629856f1e62f3bbe7..f731de3e96e5e3eec3296f16c7f15ace37729329 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * FB driver for the ST7789V LCD Controller
  *
index 097e71cfef62ea36679fa05eeee4ac4f7dc40efc..833c28d22a7eba73f49033b1efd1dfb8a6bea55e 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Custom FB driver for tinylcd.com display
  *
index 4302e822de3b90e54581f4495ffc44118ec1e9a0..46fa04c626b2ed8c60c2035456cf7ca008bfe726 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * FB driver for the TLS8204 LCD Controller
  *
index 8eb5e7f10fb50d3b908200bc82323d8a6e35f01a..f3e99e72811c5527490224e08c744aab867e6501 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * FB driver for the UltraChip UC1611 LCD controller
  *
index 78899a172c7e37d47eb05ad6da1569e06fcd581b..3f56763f3fabf8c2b2a19c6ae8915a03d6109a8d 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * FB driver for the UC1701 LCD Controller
  *
index 970b8430eccf7d00327793674f7cbce19b70e209..c4fbb4041173f4794105674c43afacd9c8483f7b 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * FB driver for the uPD161704 LCD Controller
  *
index 180e5be6fa4f730ba0ad2c4d2a09381b9db7f306..deb006074597e0a26744d050a3bb47638aa394b2 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * FB driver for the Watterott LCD Controller
  *
index 566f89cd481ba78855d149ff0cf0c09cb0970722..601612cafe3dd977a379a63fefdda7ace027cffb 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright (C) 2013 Noralf Tronnes
  *
index 488ab788138e1805529f33367a59de57a3a8b462..4c93e2710c5fa1110306f9a65af9b91f12533241 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Copyright (C) 2013 Noralf Tronnes
  *
index 0d974738c1c4e9332e74b3f7adcb8721d0b1d080..6418bc3f0ec64f527a4540e55d398eb15c8110d2 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  *
  * Copyright (C) 2013, Noralf Tronnes
index 7134624a16c2da9397e178c28fb8869e1d7002e6..a595ddeed92ccee402d9a308dfb048e9af175254 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Generic FB driver for TFT LCD displays
  *
index 25b9bf6f54bbdc7cd07b6a163a9dd01a0364f617..e94963732f2bd6ad98bb7c84b9e40e774a12294f 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Copyright (C) 2013 Noralf Tronnes
  *