mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usbutils.git
synced 2024-11-15 06:53:43 +08:00
Add correct SPDX license identifiers to all files
This removes the "boiler-plate" license texts in the individual files to use SPDX identifiers instead. Cleans up the text a lot. All copyright notices were left intact, as this does not change anything. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
090fd9b7c4
commit
f6f293c82d
20
desc-defs.c
20
desc-defs.c
@ -1,24 +1,10 @@
|
||||
/*****************************************************************************/
|
||||
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/*
|
||||
* desc-defs.c -- USB descriptor definitions
|
||||
*
|
||||
* Copyright (C) 2017 Michael Drake <michael.drake@codethink.co.uk>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
* USB descriptor definitions
|
||||
*
|
||||
* Copyright (C) 2017 Michael Drake <michael.drake@codethink.co.uk>
|
||||
*/
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <stdbool.h>
|
||||
|
20
desc-defs.h
20
desc-defs.h
@ -1,24 +1,10 @@
|
||||
/*****************************************************************************/
|
||||
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/*
|
||||
* desc-defs.h -- USB descriptor definitions
|
||||
*
|
||||
* Copyright (C) 2017 Michael Drake <michael.drake@codethink.co.uk>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
* USB descriptor definitions
|
||||
*
|
||||
* Copyright (C) 2017 Michael Drake <michael.drake@codethink.co.uk>
|
||||
*/
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
#ifndef _DESC_DEFS_H
|
||||
#define _DESC_DEFS_H
|
||||
|
||||
|
20
desc-dump.c
20
desc-dump.c
@ -1,24 +1,10 @@
|
||||
/*****************************************************************************/
|
||||
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/*
|
||||
* desc-dump.c -- USB descriptor dumping
|
||||
*
|
||||
* Copyright (C) 2017 Michael Drake <michael.drake@codethink.co.uk>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
* USB descriptor dumping
|
||||
*
|
||||
* Copyright (C) 2017 Michael Drake <michael.drake@codethink.co.uk>
|
||||
*/
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <stdbool.h>
|
||||
|
20
desc-dump.h
20
desc-dump.h
@ -1,24 +1,10 @@
|
||||
/*****************************************************************************/
|
||||
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/*
|
||||
* desc-dump.h -- USB descriptor dumping
|
||||
*
|
||||
* Copyright (C) 2017 Michael Drake <michael.drake@codethink.co.uk>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
* USB descriptor dumping
|
||||
*
|
||||
* Copyright (C) 2017 Michael Drake <michael.drake@codethink.co.uk>
|
||||
*/
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
#ifndef _DESC_DUMP_H
|
||||
#define _DESC_DUMP_H
|
||||
|
||||
|
23
lsusb.c
23
lsusb.c
@ -1,26 +1,11 @@
|
||||
/*****************************************************************************/
|
||||
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/*
|
||||
* lsusb.c -- lspci like utility for the USB bus
|
||||
*
|
||||
* Copyright (C) 1999-2001, 2003
|
||||
* Thomas Sailer (t.sailer@alumni.ethz.ch)
|
||||
* Copyright (C) 2003-2005 David Brownell
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
* lspci like utility for the USB bus
|
||||
*
|
||||
* Copyright (C) 1999-2001, 2003 Thomas Sailer (t.sailer@alumni.ethz.ch)
|
||||
* Copyright (C) 2003-2005 David Brownell
|
||||
*/
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
#include "config.h"
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
22
names.c
22
names.c
@ -1,25 +1,11 @@
|
||||
/*****************************************************************************/
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/*
|
||||
* names.c -- USB name database manipulation routines
|
||||
*
|
||||
* Copyright (C) 1999, 2000 Thomas Sailer (sailer@ife.ee.ethz.ch)
|
||||
* Copyright (C) 2013 Tom Gundersen (teg@jklm.no)
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* USB name database manipulation routines
|
||||
*
|
||||
* Copyright (C) 1999, 2000 Thomas Sailer (sailer@ife.ee.ethz.ch)
|
||||
* Copyright (C) 2013 Tom Gundersen (teg@jklm.no)
|
||||
*/
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
21
names.h
21
names.h
@ -1,25 +1,10 @@
|
||||
/*****************************************************************************/
|
||||
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/*
|
||||
* names.h -- USB name database manipulation routines
|
||||
*
|
||||
* Copyright (C) 1999, 2000 Thomas Sailer (sailer@ife.ee.ethz.ch)
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* USB name database manipulation routines
|
||||
*
|
||||
* Copyright (C) 1999, 2000 Thomas Sailer (sailer@ife.ee.ethz.ch)
|
||||
*/
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
#ifndef _NAMES_H
|
||||
#define _NAMES_H
|
||||
|
||||
|
@ -1,12 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
# Copyright: 2009 Greg Kroah-Hartman <greg@kroah.com>
|
||||
# 2009 Randy Dunlap <rdunlap@xenotime.net>
|
||||
# 2009 Frans Pop <elendil@planet.nl>
|
||||
#
|
||||
# This software may be used and distributed according to the terms of
|
||||
# the GNU General Public License (GPL), version 2, or at your option
|
||||
# any later version.
|
||||
|
||||
print_string() {
|
||||
file=$1
|
||||
|
21
usb-spec.h
21
usb-spec.h
@ -1,25 +1,10 @@
|
||||
/*****************************************************************************/
|
||||
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/*
|
||||
* usb-spec.h - Data taken from the USB spec
|
||||
*
|
||||
* Copyright (C) 2013 Tom Gundersen <teg@jklm.no>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* USB specification data
|
||||
*
|
||||
* Copyright (C) 2013 Tom Gundersen <teg@jklm.no>
|
||||
*/
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
#ifndef _USB_SPEC_H
|
||||
#define _USB_SPEC_H
|
||||
|
||||
|
20
usbmisc.c
20
usbmisc.c
@ -1,24 +1,10 @@
|
||||
/*****************************************************************************/
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/*
|
||||
* usbmisc.c -- Misc USB routines
|
||||
*
|
||||
* Copyright (C) 2003 Aurelien Jarno (aurelien@aurel32.net)
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* Misc USB routines
|
||||
*
|
||||
* Copyright (C) 2003 Aurelien Jarno (aurelien@aurel32.net)
|
||||
*/
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
19
usbmisc.h
19
usbmisc.h
@ -1,23 +1,10 @@
|
||||
/*****************************************************************************/
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/*
|
||||
* usbmisc.h -- Misc USB routines
|
||||
*
|
||||
* Copyright (C) 2003 Aurelien Jarno (aurelien@aurel32.net)
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
* Misc USB routines
|
||||
*
|
||||
* Copyright (C) 2003 Aurelien Jarno (aurelien@aurel32.net)
|
||||
*/
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
#ifndef _USBMISC_H
|
||||
#define _USBMISC_H
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user