Message ID | 20200419133051.GA7154@nishad (mailing list archive) |
---|---|
State | Mainlined |
Commit | b99bb85a31a6bfacfbf281ab809cd9109762df52 |
Headers | show |
Series | USB: typec: Use the correct style for SPDX License Identifier | expand |
On 4/19/20 6:30 AM, Nishad Kamdar wrote: > This patch corrects the SPDX License Identifier style in > header file related to USB Type-C 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 <joe@perches.com> > Signed-off-by: Nishad Kamdar <nishadkamdar@gmail.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> > --- > drivers/usb/typec/tcpm/fusb302_reg.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/usb/typec/tcpm/fusb302_reg.h b/drivers/usb/typec/tcpm/fusb302_reg.h > index 00b39d365478..edc0e4b0f1e6 100644 > --- a/drivers/usb/typec/tcpm/fusb302_reg.h > +++ b/drivers/usb/typec/tcpm/fusb302_reg.h > @@ -1,4 +1,4 @@ > -// SPDX-License-Identifier: GPL-2.0+ > +/* SPDX-License-Identifier: GPL-2.0+ */ > /* > * Copyright 2016-2017 Google, Inc > * >
On Sun, Apr 19, 2020 at 07:00:55PM +0530, Nishad Kamdar wrote: > This patch corrects the SPDX License Identifier style in > header file related to USB Type-C 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 <joe@perches.com> > Signed-off-by: Nishad Kamdar <nishadkamdar@gmail.com> Reviewed-by Heikki Krogerus <heikki.krogerus@linux.intel.com> > --- > drivers/usb/typec/tcpm/fusb302_reg.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/usb/typec/tcpm/fusb302_reg.h b/drivers/usb/typec/tcpm/fusb302_reg.h > index 00b39d365478..edc0e4b0f1e6 100644 > --- a/drivers/usb/typec/tcpm/fusb302_reg.h > +++ b/drivers/usb/typec/tcpm/fusb302_reg.h > @@ -1,4 +1,4 @@ > -// SPDX-License-Identifier: GPL-2.0+ > +/* SPDX-License-Identifier: GPL-2.0+ */ > /* > * Copyright 2016-2017 Google, Inc > * > -- > 2.17.1 thanks,
diff --git a/drivers/usb/typec/tcpm/fusb302_reg.h b/drivers/usb/typec/tcpm/fusb302_reg.h index 00b39d365478..edc0e4b0f1e6 100644 --- a/drivers/usb/typec/tcpm/fusb302_reg.h +++ b/drivers/usb/typec/tcpm/fusb302_reg.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright 2016-2017 Google, Inc *
This patch corrects the SPDX License Identifier style in header file related to USB Type-C 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 <joe@perches.com> Signed-off-by: Nishad Kamdar <nishadkamdar@gmail.com> --- drivers/usb/typec/tcpm/fusb302_reg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)