Converts the files that licensecheck can determine to be licensed under GPL-2.0-only or GPL-2.0-or-later and also convert their copyright statements to SPDX. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> --- drivers/w1/masters/w1-gpio.c | 15 +++++---------- drivers/w1/slaves/w1_ds2431.c | 10 ++++------ drivers/w1/slaves/w1_ds2433.c | 12 ++++-------- 3 files changed, 13 insertions(+), 24 deletions(-) diff --git a/drivers/w1/masters/w1-gpio.c b/drivers/w1/masters/w1-gpio.c index 916027ea87b2..8f2f772c6e17 100644 --- a/drivers/w1/masters/w1-gpio.c +++ b/drivers/w1/masters/w1-gpio.c @@ -1,13 +1,8 @@ -/* - * w1-gpio - GPIO w1 bus master driver - * - * Copyright (C) 2007 Ville Syrjala <syrjala@xxxxxx> - * Copyright (c) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@xxxxxxxxxxxx> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 - * as published by the Free Software Foundation. - */ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: 2007 Ville Syrjala <syrjala@xxxxxx> +// SPDX-FileCopyrightText: 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@xxxxxxxxxxxx> + +/* w1-gpio - GPIO w1 bus master driver */ #include <common.h> #include <init.h> diff --git a/drivers/w1/slaves/w1_ds2431.c b/drivers/w1/slaves/w1_ds2431.c index ab2ceffa4244..9a5f6b5dae62 100644 --- a/drivers/w1/slaves/w1_ds2431.c +++ b/drivers/w1/slaves/w1_ds2431.c @@ -1,13 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: 2008 Bernhard Weirich <bernhard.weirich@xxxxxxxxxx> +// SPDX-FileCopyrightText: 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@xxxxxxxxxxxx> + /* * w1_ds2431.c - w1 family 2d (DS2431) driver * - * Copyright (c) 2008 Bernhard Weirich <bernhard.weirich@xxxxxxxxxx> - * Copyright (c) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@xxxxxxxxxxxx> - * * Heavily inspired by w1_DS2433 driver from Ben Gardner <bgardner@xxxxxxxxxx> - * - * This source code is licensed under the GNU General Public License, - * Version 2. See the file COPYING for more details. */ #include <init.h> diff --git a/drivers/w1/slaves/w1_ds2433.c b/drivers/w1/slaves/w1_ds2433.c index b24fb5b3b5c3..0e626530db2d 100644 --- a/drivers/w1/slaves/w1_ds2433.c +++ b/drivers/w1/slaves/w1_ds2433.c @@ -1,11 +1,7 @@ -/* - * w1_ds2433.c - w1 family 23 (DS2433) driver - * - * Copyright (c) 2005 Ben Gardner <bgardner@xxxxxxxxxx> - * - * This source code is licensed under the GNU General Public License, - * Version 2. See the file COPYING for more details. - */ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: 2005 Ben Gardner <bgardner@xxxxxxxxxx> + +/* w1_ds2433.c - w1 family 23 (DS2433) driver */ #include <init.h> #include "../w1.h" -- 2.30.2 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox