Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp447274ybb; Sat, 28 Mar 2020 02:49:16 -0700 (PDT) X-Google-Smtp-Source: ADFU+vt+6CNAls97tef2Wt0E5u4ge6XXASf0w8tpOr2QEUMp5iY1/hg8wMuda/vSJdrgcysjk/1D X-Received: by 2002:a9d:4009:: with SMTP id m9mr2067234ote.132.1585388956661; Sat, 28 Mar 2020 02:49:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585388956; cv=none; d=google.com; s=arc-20160816; b=plUx+qhn3wOIItQmLy+NCtoqAo39sZ+VPxaTGgHAXYEVfGT6W1kwxd0zd5MKl8dPkq ZEuTAQohGvqi6/nG5lvnZjyTnfhZwbE8Ikiifdf5ou2KFeuidpm/ok+VxO6eDK/sTGL/ riLfNswIOJOFDh6ATxPDjzqEVKADT1fMIbSUtH3OC9A7gJtv0ltrqwqHhrhE1lHJ5WXw HO8Ja3xncGuMUdoUxVTYKRiQCmggf9M2zbFBs1LwE/sCquP4TQd2kWb5RV/CTcPmrE9v 1EC8rO9QPp5quCiOQRxgE+r4h9fTh4Jrp1MRH15cNenX9ObqOyR2xh88a+iQq1nT2AIq JPjQ== 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=tOjJX6xRnffKPc3AqETnscSj7oMhWI6lRH93RVQJDlQ=; b=YlUllCsB2+oaIMzIBlicirvbFazvSo80nRTQmFyQYUEtuDYAb90LycAIpkCA9JgjCz dnoAo6n540JWM9ehWwvEzgMmLAtCQfqAz46XVoj/dEehuymz2oeXXm5CXByzL0RCYTai R6CfBvLNsjjzpZ7+mjXlAMMl0e2c686dk9+XdNkMyvT3XOyjmqbKtvDmBJVYvDyljY9f j56C2VXs4xAh3suyoQw1o1fRIWgXms8kUR9sbFW5Xw4eZDxaoHRNfJKbg61Gjah1vqWS hc0t/IgX4YPrSm9czqjqgbqHrVut2E0qvGo53VhL+nteKZz1pGOR+PG7Yl6grDyNiISG t3pQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uyFI8ztN; 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 j8si3281985oib.260.2020.03.28.02.49.03; Sat, 28 Mar 2020 02:49:16 -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=uyFI8ztN; 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 S1726195AbgC1Jsk (ORCPT + 99 others); Sat, 28 Mar 2020 05:48:40 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:39589 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725937AbgC1Jsj (ORCPT ); Sat, 28 Mar 2020 05:48:39 -0400 Received: by mail-pg1-f196.google.com with SMTP id b22so5916873pgb.6; Sat, 28 Mar 2020 02:48:39 -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=tOjJX6xRnffKPc3AqETnscSj7oMhWI6lRH93RVQJDlQ=; b=uyFI8ztNJVNwUQlPh4HA75vk9sdQBxm5rfANauCha0igSDcmjfOSNUz70Y5rqAGBKP OClqS+G272PsaxBWysW0wn6HNyBuADJqOgNRsxrwcyXznMNhfzfr1BUESoOduri6yJ0U EPuqcGSeG3a81GcVIT8/u/CC1n2lhhTuVmdJqyAfodp/TdoAnZIm9XZxaO+XUjqBOosb TO9G4yGtlNtCFweOiSG0UktrHDzLnMoCf2SwEia6yeU93b1i7EBoJrl29Rord2OEeA+J CGT1XkDBGeLl7zXh6aiqxu3jjGEngCB6Inxi3mLPbj2/YPCSUw99OdPL7uH09jf66Bl+ ocoA== 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=tOjJX6xRnffKPc3AqETnscSj7oMhWI6lRH93RVQJDlQ=; b=hSjzOYO5S1hntAFuSBVWCb9PAkFjmGuT//k30/JzEGyJS1cxpsJnzLTQxRSBSzwn9/ ScZ8/o+LPjI6qtzF+7gn7wq9uqaHyVAGWnPLDYgZYKcv8ckOfFIVMM6CoiuItlIDKnI7 Z679I6CfKPIVa0eRfr6qWwGRX6gl7p37yEtnQB9z6zP0+JhtDXdgNkZw8PcKdaKSYEif +pBiKUszEkQCm7gI7qYujQ5I27KMdo6xe4TZ4aa68pIP4WEU91y/ivOUpC/t8Pj8Z9nx ADzLsm0tFS+roVzLIEwr7/9Xe/twhKOK4ONAG6bOzsleOyAWGoa6YXNtIgFA+wEoq33E uKPQ== X-Gm-Message-State: AGi0Pub2Eka3Yfg8B/VFhgj1tOC47xsOxP68GNoIYlUVC7pXJlWrTdwb bWz3AyyvuVhBYpb488PebM8= X-Received: by 2002:aa7:838e:: with SMTP id u14mr239769pfm.212.1585388918591; Sat, 28 Mar 2020 02:48:38 -0700 (PDT) Received: from nishad ([106.51.232.103]) by smtp.gmail.com with ESMTPSA id i4sm5418198pjg.4.2020.03.28.02.48.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 28 Mar 2020 02:48:38 -0700 (PDT) Date: Sat, 28 Mar 2020 15:18:32 +0530 From: Nishad Kamdar To: Minas Harutyunyan , Greg Kroah-Hartman , Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= , Pengutronix Kernel Team , Joe Perches Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] USB: dwc2: Use the correct style for SPDX License Identifier Message-ID: <20200328094828.GA5016@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 DesignWare USB2 DRD Core Support. 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. Suggested-by: Joe Perches Signed-off-by: Nishad Kamdar --- drivers/usb/dwc2/core.h | 2 +- drivers/usb/dwc2/debug.h | 2 +- drivers/usb/dwc2/hcd.h | 2 +- drivers/usb/dwc2/hw.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/usb/dwc2/core.h b/drivers/usb/dwc2/core.h index 99b0bdfe0012..668d1ad646a4 100644 --- a/drivers/usb/dwc2/core.h +++ b/drivers/usb/dwc2/core.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) +/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ /* * core.h - DesignWare HS OTG Controller common declarations * diff --git a/drivers/usb/dwc2/debug.h b/drivers/usb/dwc2/debug.h index a8c565b6bc34..47252c56d410 100644 --- a/drivers/usb/dwc2/debug.h +++ b/drivers/usb/dwc2/debug.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * debug.h - Designware USB2 DRD controller debug header * diff --git a/drivers/usb/dwc2/hcd.h b/drivers/usb/dwc2/hcd.h index 1224fa9df604..ea02ee63ac6d 100644 --- a/drivers/usb/dwc2/hcd.h +++ b/drivers/usb/dwc2/hcd.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) +/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ /* * hcd.h - DesignWare HS OTG Controller host-mode declarations * diff --git a/drivers/usb/dwc2/hw.h b/drivers/usb/dwc2/hw.h index c4027bbcedec..864b76a0b954 100644 --- a/drivers/usb/dwc2/hw.h +++ b/drivers/usb/dwc2/hw.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) +/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ /* * hw.h - DesignWare HS OTG Controller hardware definitions * -- 2.17.1