Skip to contentSkip to conversation

i2c: stm32: Use the correct style for SPDX License Identifier

PATCH In review Nishad Kamdar 2 participants 2 messages Aug 3, 2019 – Aug 14, 2019

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i2c: stm32: Use the correct style for SPDX License Identifier

This patch corrects the SPDX License Identifier style in header file related to STM32 Driver for I2C hardware bus support.
For C header files Documentation/process/license-rules.rst mandates C-like comments (opposed to C source files where C++ style should be used)

Changes made by using a script provided by Joe Perches here:
https://lkml.org/lkml/2019/2/7/46

---
 drivers/i2c/busses/i2c-stm32.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/i2c/busses/i2c-stm32.h +1 -1
index 868755f82f88..2c21893905a3 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * i2c-stm32.h
  *
Signature · 1 line
2.17.1
#1 lore raw
Quoted 7 lines · Nishad Kamdar

This patch corrects the SPDX License Identifier style in header file related to STM32 Driver for I2C hardware bus support.
For C header files Documentation/process/license-rules.rst mandates C-like comments (opposed to C source files where C++ style should be used)

Quoted 5 lines

Changes made by using a script provided by Joe Perches here:
https://lkml.org/lkml/2019/2/7/46

Pierre-Yves is on holiday and this patch is obviously correct, so applied to for-current, thanks!