[PATCH 3/4] i2c: algo-bit: switch to SPDX-License-Identifier

Ahmad Fatoum a.fatoum at pengutronix.de
Sat Oct 30 10:56:31 PDT 2021


Replace the boilerplate with a short equivalent identifier.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 drivers/i2c/algos/i2c-algo-bit.c | 24 +++++-------------------
 1 file changed, 5 insertions(+), 19 deletions(-)

diff --git a/drivers/i2c/algos/i2c-algo-bit.c b/drivers/i2c/algos/i2c-algo-bit.c
index 2563c0d25a7f..2d6010869d47 100644
--- a/drivers/i2c/algos/i2c-algo-bit.c
+++ b/drivers/i2c/algos/i2c-algo-bit.c
@@ -1,26 +1,12 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* -------------------------------------------------------------------------
  * i2c-algo-bit.c i2c driver algorithms for bit-shift adapters
  * -------------------------------------------------------------------------
  *   Copyright (C) 1995-2000 Simon G. Vogl
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that 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.
-
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-    MA 02110-1301 USA.
- * ------------------------------------------------------------------------- */
-
-/* With some changes from Frodo Looijaard <frodol at dds.nl>, Kyösti Mälkki
-   <kmalkki at cc.hut.fi> and Jean Delvare <khali at linux-fr.org> */
+ *
+ * With some changes from Frodo Looijaard <frodol at dds.nl>, Kyösti Mälkki
+ * <kmalkki at cc.hut.fi> and Jean Delvare <khali at linux-fr.org>
+ */
 
 #include <common.h>
 #include <init.h>
-- 
2.30.2




More information about the barebox mailing list