Kaynağa Gözat

pwm: stm32: Adopt SPDX identifier

Add SPDX identifier to make it easier to determine the license of the
file.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
Acked-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Benjamin Gaignard 7 yıl önce
ebeveyn
işleme
d7a131d3a4
2 değiştirilmiş dosya ile 2 ekleme ve 4 silme
  1. 1 2
      drivers/pwm/pwm-stm32-lp.c
  2. 1 2
      drivers/pwm/pwm-stm32.c

+ 1 - 2
drivers/pwm/pwm-stm32-lp.c

@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * STM32 Low-Power Timer PWM driver
  *
@@ -5,8 +6,6 @@
  *
  * Author: Gerald Baeza <gerald.baeza@st.com>
  *
- * License terms: GNU General Public License (GPL), version 2
- *
  * Inspired by Gerald Baeza's pwm-stm32 driver
  */
 

+ 1 - 2
drivers/pwm/pwm-stm32.c

@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (C) STMicroelectronics 2016
  *
  * Author: Gerald Baeza <gerald.baeza@st.com>
  *
- * License terms: GNU General Public License (GPL), version 2
- *
  * Inspired by timer-stm32.c from Maxime Coquelin
  *             pwm-atmel.c from Bo Shen
  */