From 4574d1d61da3561713a6bb7332abe8ff5a9c7fbf Mon Sep 17 00:00:00 2001 From: Benson Leung Date: Wed, 23 May 2018 12:00:47 -0700 Subject: platform/chrome: chromeos_tbmc - add SPDX identifier Replace the original license statement with the SPDX identifier. Add also one line of description as recommended by the COPYING file. Signed-off-by: Benson Leung --- drivers/platform/chrome/chromeos_tbmc.c | 27 +++++---------------------- 1 file changed, 5 insertions(+), 22 deletions(-) diff --git a/drivers/platform/chrome/chromeos_tbmc.c b/drivers/platform/chrome/chromeos_tbmc.c index c87e53319dae..b935df6a9694 100644 --- a/drivers/platform/chrome/chromeos_tbmc.c +++ b/drivers/platform/chrome/chromeos_tbmc.c @@ -1,25 +1,8 @@ -/* - * chromeos_tbmc - Driver to detect Tablet Mode for ChromeOS convertible. - * - * Copyright 2017 Google, Inc - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * 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. - * - * On Chromebook using ACPI, this device listens for notification - * from GOOG0006 and issue method TBMC to retrieve the status. - * - * GOOG0006 issues the notification when it receives EC_HOST_EVENT_MODE_CHANGE - * from the EC. - * Method TBMC reads EC_ACPI_MEM_DEVICE_ORIENTATION byte from the shared - * memory region. - */ +// SPDX-License-Identifier: GPL-2.0+ +// Driver to detect Tablet Mode for ChromeOS convertible. +// +// Copyright (C) 2017 Google, Inc. +// Author: Gwendal Grignou #include #include -- cgit v1.2.3