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

media: i2c: Use the correct style for SPDX License Identifier

This patch corrects the SPDX License Identifier style
in header files related to I2C controlled media codec drivers.
For C header files Documentation/process/license-rules.rst
mandates C-like comments (opposed to C source files where
C++ style should be used)

Changes made by using a script provided by Joe Perches here:
https://lkml.org/lkml/2019/2/7/46
and some manual changes.

Suggested-by: Joe Perches <joe@perches.com>
Signed-off-by: Nishad Kamdar <nishadkamdar@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>

authored by

Nishad Kamdar and committed by
Mauro Carvalho Chehab
59d8bf5d 01da4444

+5 -5
+2 -2
drivers/media/i2c/max2175.h
··· 1 - /* SPDX-License-Identifier: GPL-2.0 2 - * 1 + /* SPDX-License-Identifier: GPL-2.0 */ 2 + /* 3 3 * Maxim Integrated MAX2175 RF to Bits tuner driver 4 4 * 5 5 * This driver & most of the hard coded values are based on the reference
+1 -1
drivers/media/i2c/saa711x_regs.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 1 2 /* 2 - * SPDX-License-Identifier: GPL-2.0+ 3 3 * saa711x - Philips SAA711x video decoder register specifications 4 4 * 5 5 * Copyright (c) 2006 Mauro Carvalho Chehab <mchehab@kernel.org>
+1 -1
drivers/media/i2c/tda1997x_regs.h
··· 1 - // SPDX-License-Identifier: GPL-2.0 1 + /* SPDX-License-Identifier: GPL-2.0 */ 2 2 /* 3 3 * Copyright (C) 2018 Gateworks Corporation 4 4 */
+1 -1
drivers/media/i2c/tvp5150_reg.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 */ 1 2 /* 2 - * SPDX-License-Identifier: GPL-2.0 3 3 * 4 4 * tvp5150 - Texas Instruments TVP5150A/AM1 video decoder registers 5 5 *