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/poweroff.c | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) (limited to 'commands/poweroff.c') diff --git a/commands/poweroff.c b/commands/poweroff.c index bbafa13bd0..9320c07a6c 100644 --- a/commands/poweroff.c +++ b/commands/poweroff.c @@ -1,21 +1,7 @@ -/* - * poweroff.c - turn board's power off - * - * Copyright (C) 2011 Antony Pavlov - * - * This file is part of barebox. - * 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: © 2011 Antony Pavlov + +/* poweroff.c - turn board's power off */ #include #include -- cgit v1.2.3