From 1a546e28341ba3e733d1f1f9fc6d60de6b195298 Mon Sep 17 00:00:00 2001 From: Uwe Kleine-König Date: Tue, 21 Apr 2020 23:15:45 +0200 Subject: commands/*: Replace license and copyright boilerplate by SPDX identfiers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit While at it also drop references to the non-existing CREDITS file and do some small rearrangements for some uniform formatting. (SPDX-License-Identifier first, then copyright texts and then an empty line.) The advantage is that these specifiers are machine-parseable which helps license conformance. Signed-off-by: Uwe Kleine-König Signed-off-by: Sascha Hauer --- commands/usbgadget.c | 26 ++++++-------------------- 1 file changed, 6 insertions(+), 20 deletions(-) (limited to 'commands/usbgadget.c') diff --git a/commands/usbgadget.c b/commands/usbgadget.c index e8e1e9adac..193da86dee 100644 --- a/commands/usbgadget.c +++ b/commands/usbgadget.c @@ -1,23 +1,9 @@ -/* - * usbserial.c - usb serial gadget command - * - * Copyright (c) 2011 Eric Bénard , Eukréa Electromatique - * based on dfu.c which is : - * Copyright (c) 2009 Sascha Hauer , Pengutronix - * - * See file CREDITS for list of people who contributed to this - * project. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 - * as published by the Free Software Foundation. - * - * 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. - * - */ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: © 2009 Sascha Hauer , Pengutronix +// SPDX-FileCopyrightText: © 2011 Eric Bénard , Eukréa Electromatique + +/* usbserial.c - usb serial gadget command */ + #include #include #include -- cgit v1.2.3