Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp804297ybe; Wed, 4 Sep 2019 08:01:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqzYJ6XzxBSVzOW8foiXmT8u1R15xACidKl+FecTveV+/PR/LAOJa6snKORpc8dT/2OvWeMw X-Received: by 2002:a17:90a:d0c6:: with SMTP id y6mr5366032pjw.80.1567609295628; Wed, 04 Sep 2019 08:01:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567609295; cv=none; d=google.com; s=arc-20160816; b=vCe8abFXK3C+qsOKBzBxA64Tp/AQeb+XnjmbhmMR5wbJmMqjSw5LuFWKE4zLx6XwTG nSUVujmijPGjAesi5oyj9N2dDwZsY8i9wUFuQqtN+TML1O0ru+bZuLtxhAAAcXuiFIrR yEIA/CyuCNWC5VeH0s9mfMGhl68rmkDgvyfmxD77vXI+1EHOJk5kAUYXYDMlj48PVZR2 vLtIvMkIDtt/4a+3gtV/FAOkVz6sxcSiEm4/l5zl9X+Iu2sBSAsgt+M6+Uie9rRDazLD j57bu27HOYgft8gLg1GCVQDDSvbLfYDXCCEKh9lZVgilTZQzXADjGqSf4lQ5awFiMVJY yqrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature; bh=TwLLRd1Csrg25/GdRKWRpgAGYI8XLduRSa0TLBWFWw8=; b=cLuQVtmZ23MldyG0w/HYMJRBSlEN7TnNFQbIaKhexa87avNIveisAetGQAvIgghEAs 6cTBQ/mvtdw/zVs2ehuWWJUqMM29/qdNfJSAduyp7449k3e3G1+mvePcicduPhZkj2Z4 VD0NhFzshJLoZowBnn1FxhgZE/cq0PUMiZE892kikBwZCREsBhAFqyy44erdD8QQSBD4 S3slSVZTE7zU1m9VurkyE6Y4/c51Rl2dvlNQol5Uu1Rl+w/K5ynh+SjHH1rQr4sQsbtZ nus0zaNb4nDpZqFa4IFo01ZnObl4Qu80FSeICDhliL37XnOggy6sUnUdFF/YG5jGC4eb Zo2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Z6Mb4nCM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u21si21115004pfh.102.2019.09.04.08.01.18; Wed, 04 Sep 2019 08:01:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Z6Mb4nCM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731177AbfIDO6g (ORCPT + 99 others); Wed, 4 Sep 2019 10:58:36 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:33965 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729919AbfIDO6f (ORCPT ); Wed, 4 Sep 2019 10:58:35 -0400 Received: by mail-pg1-f196.google.com with SMTP id n9so11404828pgc.1; Wed, 04 Sep 2019 07:58:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=TwLLRd1Csrg25/GdRKWRpgAGYI8XLduRSa0TLBWFWw8=; b=Z6Mb4nCMJDwhyogeDbmvTTNBklBShXXSA8J9yLUG3puw8p2g2r1pph57Z2sF/TND8G vrKZRFPNcv48L1M0ZimiQ1Eut5XJmvPhRFkUGer6JycQD1wVJPcH7jHxc7Kz61HjN7dY pSMyjr8kJyFgvX3aL/KDttuezhz7uJI6AlKYgsyENzAAGWvhVUM8OLUcAmgi4o44voEP RDaLXHvKSyvN+BHG7fbPOgQGZnHMUCwnLWUT2ODxUdz8HfckUDV3LohlVvtfycoyqPKG wAoL5fvOL93NkYIrsgdQQ0STMzqsP/8Z5FfrLHll1GUL6Vbtcdt8KLVAZXj9SCnFDq6r w5BQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=TwLLRd1Csrg25/GdRKWRpgAGYI8XLduRSa0TLBWFWw8=; b=iu3npr954cA+XVDB/R3QqIQG5vzSkOCGosXUBFmqzjjclOH8JKOD+LHEsxNWgFGhnV lwiHv5Hzn3bWcMKjy/MjNyWjkTiLb/5jdcabO+veIpAI+plNUp96jlqbW6cD/kJGL5CV 9VoVMN0EhePjKGLGJk73fkRYyjvuxi9/IfNwqcbxcY7SVcRa6qb7aelIGMKnQXedWjYd bbbzsZMQ29aFG34xA1sZxffDGUNT7r0jmYl0+B7VXuyR9qeWE/9Gdo+BukQNhD/jipH+ km2EDwsURwF20RWDrcZfkVrLmM8h2qhqAcL8Zbk3MslE2hALW5uJgxKmhieEGgEPYg90 Lq8Q== X-Gm-Message-State: APjAAAUIjXV2Sl2B2Pap60SX/jv1RTuFvS+CT1WS2cLxfwhiUFLDT732 HyidH4G6gay8S9e9v0hK08E= X-Received: by 2002:a17:90a:7f06:: with SMTP id k6mr5528923pjl.87.1567609114576; Wed, 04 Sep 2019 07:58:34 -0700 (PDT) Received: from nishad ([106.51.235.3]) by smtp.gmail.com with ESMTPSA id p189sm18009126pfp.163.2019.09.04.07.58.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 04 Sep 2019 07:58:34 -0700 (PDT) Date: Wed, 4 Sep 2019 20:28:27 +0530 From: Nishad Kamdar To: Ramesh Shanmugasundaram , Mauro Carvalho Chehab , Greg Kroah-Hartman , Joe Perches , Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] media: i2c: Use the correct style for SPDX License Identifier Message-ID: <20190904145823.GA3749@nishad> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Signed-off-by: Nishad Kamdar --- drivers/media/i2c/max2175.h | 4 ++-- drivers/media/i2c/saa711x_regs.h | 2 +- drivers/media/i2c/tda1997x_regs.h | 2 +- drivers/media/i2c/tvp5150_reg.h | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/media/i2c/max2175.h b/drivers/media/i2c/max2175.h index 1ece587c153d..4c722ea3e5f1 100644 --- a/drivers/media/i2c/max2175.h +++ b/drivers/media/i2c/max2175.h @@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 - * +/* SPDX-License-Identifier: GPL-2.0 */ +/* * Maxim Integrated MAX2175 RF to Bits tuner driver * * This driver & most of the hard coded values are based on the reference diff --git a/drivers/media/i2c/saa711x_regs.h b/drivers/media/i2c/saa711x_regs.h index 44fabe08234d..4b5f6985710b 100644 --- a/drivers/media/i2c/saa711x_regs.h +++ b/drivers/media/i2c/saa711x_regs.h @@ -1,5 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* - * SPDX-License-Identifier: GPL-2.0+ * saa711x - Philips SAA711x video decoder register specifications * * Copyright (c) 2006 Mauro Carvalho Chehab diff --git a/drivers/media/i2c/tda1997x_regs.h b/drivers/media/i2c/tda1997x_regs.h index ecf87534613b..d9b3daada07d 100644 --- a/drivers/media/i2c/tda1997x_regs.h +++ b/drivers/media/i2c/tda1997x_regs.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2018 Gateworks Corporation */ diff --git a/drivers/media/i2c/tvp5150_reg.h b/drivers/media/i2c/tvp5150_reg.h index 9088186c24d1..f716129adf09 100644 --- a/drivers/media/i2c/tvp5150_reg.h +++ b/drivers/media/i2c/tvp5150_reg.h @@ -1,5 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* - * SPDX-License-Identifier: GPL-2.0 * * tvp5150 - Texas Instruments TVP5150A/AM1 video decoder registers * -- 2.17.1