Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mfd: Convert Intel PMIC drivers to use SPDX identifier 1;5201;0c Reduce size of duplicated comments by switching to use SPDX identifier.

No functional change.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

authored by

Andy Shevchenko and committed by
Lee Jones
26c7e05a 51eeee8e

+15 -75
+1 -4
drivers/mfd/intel_msic.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * Driver for Intel MSIC 3 4 * 4 5 * Copyright (C) 2011, Intel Corporation 5 6 * Author: Mika Westerberg <mika.westerberg@linux.intel.com> 6 - * 7 - * This program is free software; you can redistribute it and/or modify 8 - * it under the terms of the GNU General Public License version 2 as 9 - * published by the Free Software Foundation. 10 7 */ 11 8 12 9 #include <linux/err.h>
+1 -9
drivers/mfd/intel_soc_pmic_bxtwc.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * MFD core driver for Intel Broxton Whiskey Cove PMIC 3 4 * 4 5 * Copyright (C) 2015 Intel Corporation. All rights reserved. 5 - * 6 - * This program is free software; you can redistribute it and/or modify it 7 - * under the terms and conditions of the GNU General Public License, 8 - * version 2, as published by the Free Software Foundation. 9 - * 10 - * This program is distributed in the hope it will be useful, but WITHOUT 11 - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 12 - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 13 - * more details. 14 6 */ 15 7 16 8 #include <linux/acpi.h>
+1 -4
drivers/mfd/intel_soc_pmic_chtdc_ti.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * Device access for Dollar Cove TI PMIC 3 4 * ··· 7 6 * 8 7 * Cleanup and forward-ported 9 8 * Copyright (c) 2017 Takashi Iwai <tiwai@suse.de> 10 - * 11 - * This program is free software; you can redistribute it and/or modify 12 - * it under the terms of the GNU General Public License version 2 as 13 - * published by the Free Software Foundation. 14 9 */ 15 10 16 11 #include <linux/acpi.h>
+1 -4
drivers/mfd/intel_soc_pmic_chtwc.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * MFD core driver for Intel Cherrytrail Whiskey Cove PMIC 3 4 * ··· 6 5 * 7 6 * Based on various non upstream patches to support the CHT Whiskey Cove PMIC: 8 7 * Copyright (C) 2013-2015 Intel Corporation. All rights reserved. 9 - * 10 - * This program is free software; you can redistribute it and/or modify 11 - * it under the terms of the GNU General Public License version 2 as 12 - * published by the Free Software Foundation. 13 8 */ 14 9 15 10 #include <linux/acpi.h>
+2 -10
drivers/mfd/intel_soc_pmic_core.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 - * intel_soc_pmic_core.c - Intel SoC PMIC MFD Driver 3 + * Intel SoC PMIC MFD Driver 3 4 * 4 5 * Copyright (C) 2013, 2014 Intel Corporation. All rights reserved. 5 - * 6 - * This program is free software; you can redistribute it and/or 7 - * modify it under the terms of the GNU General Public License version 8 - * 2 as published by the Free Software Foundation. 9 - * 10 - * This program is distributed in the hope that it will be useful, 11 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 - * GNU General Public License for more details. 14 6 * 15 7 * Author: Yang, Bin <bin.yang@intel.com> 16 8 * Author: Zhu, Lejun <lejun.zhu@linux.intel.com>
+2 -10
drivers/mfd/intel_soc_pmic_core.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 */ 1 2 /* 2 - * intel_soc_pmic_core.h - Intel SoC PMIC MFD Driver 3 + * Intel SoC PMIC MFD Driver 3 4 * 4 5 * Copyright (C) 2012-2014 Intel Corporation. All rights reserved. 5 - * 6 - * This program is free software; you can redistribute it and/or 7 - * modify it under the terms of the GNU General Public License version 8 - * 2 as published by the Free Software Foundation. 9 - * 10 - * This program is distributed in the hope that it will be useful, 11 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 - * GNU General Public License for more details. 14 6 * 15 7 * Author: Yang, Bin <bin.yang@intel.com> 16 8 * Author: Zhu, Lejun <lejun.zhu@linux.intel.com>
+2 -10
drivers/mfd/intel_soc_pmic_crc.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 - * intel_soc_pmic_crc.c - Device access for Crystal Cove PMIC 3 + * Device access for Crystal Cove PMIC 3 4 * 4 5 * Copyright (C) 2013, 2014 Intel Corporation. All rights reserved. 5 - * 6 - * This program is free software; you can redistribute it and/or 7 - * modify it under the terms of the GNU General Public License version 8 - * 2 as published by the Free Software Foundation. 9 - * 10 - * This program is distributed in the hope that it will be useful, 11 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 - * GNU General Public License for more details. 14 6 * 15 7 * Author: Yang, Bin <bin.yang@intel.com> 16 8 * Author: Zhu, Lejun <lejun.zhu@linux.intel.com>
+2 -5
include/linux/mfd/intel_msic.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 */ 1 2 /* 2 - * include/linux/mfd/intel_msic.h - Core interface for Intel MSIC 3 + * Core interface for Intel MSIC 3 4 * 4 5 * Copyright (C) 2011, Intel Corporation 5 6 * Author: Mika Westerberg <mika.westerberg@linux.intel.com> 6 - * 7 - * This program is free software; you can redistribute it and/or modify 8 - * it under the terms of the GNU General Public License version 2 as 9 - * published by the Free Software Foundation. 10 7 */ 11 8 12 9 #ifndef __LINUX_MFD_INTEL_MSIC_H__
+2 -10
include/linux/mfd/intel_soc_pmic.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 */ 1 2 /* 2 - * intel_soc_pmic.h - Intel SoC PMIC Driver 3 + * Intel SoC PMIC Driver 3 4 * 4 5 * Copyright (C) 2012-2014 Intel Corporation. All rights reserved. 5 - * 6 - * This program is free software; you can redistribute it and/or 7 - * modify it under the terms of the GNU General Public License version 8 - * 2 as published by the Free Software Foundation. 9 - * 10 - * This program is distributed in the hope that it will be useful, 11 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 - * GNU General Public License for more details. 14 6 * 15 7 * Author: Yang, Bin <bin.yang@intel.com> 16 8 * Author: Zhu, Lejun <lejun.zhu@linux.intel.com>
+1 -9
include/linux/mfd/intel_soc_pmic_bxtwc.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 */ 1 2 /* 2 3 * Header file for Intel Broxton Whiskey Cove PMIC 3 4 * 4 5 * Copyright (C) 2015 Intel Corporation. All rights reserved. 5 - * 6 - * This program is free software; you can redistribute it and/or modify it 7 - * under the terms and conditions of the GNU General Public License, 8 - * version 2, as published by the Free Software Foundation. 9 - * 10 - * This program is distributed in the hope it will be useful, but WITHOUT 11 - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 12 - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 13 - * more details. 14 6 */ 15 7 16 8 #ifndef __INTEL_BXTWC_H__