summaryrefslogtreecommitdiff
path: root/src/drivers/i2c/pca9538
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-04-02 23:48:19 +0200
committerFelix Held <felix-coreboot@felixheld.de>2020-04-06 13:42:15 +0000
commit8a3453fc86dcec20bf6cc8a4adb8a16c41621bc3 (patch)
tree679dcfb3b944f6dbfc752c549d884ff3462b3f9c /src/drivers/i2c/pca9538
parentbbc99cfe36d1ba25f03115f390a497d3001bdef0 (diff)
downloadcoreboot-8a3453fc86dcec20bf6cc8a4adb8a16c41621bc3.tar.xz
src/drivers: Use SPDX for GPL-2.0-only files
Done with sed and God Lines. Only done for C-like code for now. Change-Id: I38eaffa391ed5971217ffad74a312b1641e431c9 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40051 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/drivers/i2c/pca9538')
-rw-r--r--src/drivers/i2c/pca9538/chip.h14
-rw-r--r--src/drivers/i2c/pca9538/pca9538.c14
-rw-r--r--src/drivers/i2c/pca9538/pca9538.h14
3 files changed, 6 insertions, 36 deletions
diff --git a/src/drivers/i2c/pca9538/chip.h b/src/drivers/i2c/pca9538/chip.h
index 40072e1279..598ffb9913 100644
--- a/src/drivers/i2c/pca9538/chip.h
+++ b/src/drivers/i2c/pca9538/chip.h
@@ -1,15 +1,5 @@
-/*
- * This file is part of the coreboot project.
- *
- * 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; version 2 of the License.
- *
- * 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.
- */
+/* SPDX-License-Identifier: GPL-2.0-only */
+/* This file is part of the coreboot project. */
struct drivers_i2c_pca9538_config {
diff --git a/src/drivers/i2c/pca9538/pca9538.c b/src/drivers/i2c/pca9538/pca9538.c
index d5cd96d9e8..50f634e055 100644
--- a/src/drivers/i2c/pca9538/pca9538.c
+++ b/src/drivers/i2c/pca9538/pca9538.c
@@ -1,15 +1,5 @@
-/*
- * This file is part of the coreboot project.
- *
- * 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; version 2 of the License.
- *
- * 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.
- */
+/* SPDX-License-Identifier: GPL-2.0-only */
+/* This file is part of the coreboot project. */
#include <device/i2c_bus.h>
#include <device/device.h>
diff --git a/src/drivers/i2c/pca9538/pca9538.h b/src/drivers/i2c/pca9538/pca9538.h
index 9519c9a472..4640ab545f 100644
--- a/src/drivers/i2c/pca9538/pca9538.h
+++ b/src/drivers/i2c/pca9538/pca9538.h
@@ -1,15 +1,5 @@
-/*
- * This file is part of the coreboot project.
- *
- * 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; version 2 of the License.
- *
- * 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.
- */
+/* SPDX-License-Identifier: GPL-2.0-only */
+/* This file is part of the coreboot project. */
#ifndef _I2C_PCA9538_H_
#define _I2C_PCA9538_H_