Re: [PATCH] drivers/i2c: include SPDX-license header
From: Peter Rosin
Date: Thu Jun 21 2018 - 06:09:50 EST
On 2018-06-21 12:02, Mawanda Henry wrote:
> SPDX license headers makes it easy for developers and machines to know
> the license that is governing that file
This patch appears to be on top of the previously rejected patch. Please
remove that broken patch first so that this patch applies to a clean
tree.
> Signed-off-by: Mawanda Henry <mawandahenrynaco@xxxxxxxxx>
> ---
> drivers/i2c/i2c-core-slave.c | 6 +-----
> 1 file changed, 1 insertion(+), 5 deletions(-)
>
> diff --git a/drivers/i2c/i2c-core-slave.c b/drivers/i2c/i2c-core-slave.c
> index 883ca836..fd6a405 100644
> --- a/drivers/i2c/i2c-core-slave.c
> +++ b/drivers/i2c/i2c-core-slave.c
> @@ -1,13 +1,9 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0+
> /*
> * Linux I2C core slave support code
> *
> * Copyright (C) 2014 by Wolfram Sang <wsa@xxxxxxxxxxxxxxxxxxxx>
> *
Also, the above empty "*" line should also be removed.
Cheers,
Peter
> - * 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.
> */
>
> #include <dt-bindings/i2c/i2c.h>
>