Re: [PATCH v2 23/46] mfd: ti_am335x_tscadc: Replace the header license text with SPDX tag

Jonathan Cameron
2021-09-05T12:19:10Z

On Thu, 2 Sep 2021 23:51:21 +0200
Miquel Raynal <miquel.raynal@bootlin.com> wrote:

> Drop the text license and replace it with an equivalent SPDX license tag
> identifier.
>
> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

> ---
> include/linux/mfd/ti_am335x_tscadc.h | 16 ++++------------
> 1 file changed, 4 insertions(+), 12 deletions(-)
>
> diff --git a/include/linux/mfd/ti_am335x_tscadc.h b/include/linux/mfd/ti_am335x_tscadc.h
> index 02963b6ebbac..334ce1a879df 100644
> --- a/include/linux/mfd/ti_am335x_tscadc.h
> +++ b/include/linux/mfd/ti_am335x_tscadc.h
> @@ -1,21 +1,13 @@
> -#ifndef __LINUX_TI_AM335X_TSCADC_MFD_H
> -#define __LINUX_TI_AM335X_TSCADC_MFD_H
> -
> +/* SPDX-License-Identifier: GPL-2.0-only */
> /*
> * TI Touch Screen / ADC MFD driver
> *
> * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
> - *
> - * 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.
> - *
> - * This program is distributed "as is" WITHOUT ANY WARRANTY of any
> - * kind, whether express or implied; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> */
>
> +#ifndef __LINUX_TI_AM335X_TSCADC_MFD_H
> +#define __LINUX_TI_AM335X_TSCADC_MFD_H
> +
> #include <linux/mfd/core.h>
>
> #define REG_RAWIRQSTATUS 0x024