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 <bleung@chromium.org>
This commit is contained in:
Benson Leung 2018-05-23 12:00:47 -07:00
parent b418f74170
commit 4574d1d61d
No known key found for this signature in database
GPG Key ID: 1F09F57B0A2FE658
1 changed files with 5 additions and 22 deletions

View File

@ -1,25 +1,8 @@
/* // SPDX-License-Identifier: GPL-2.0+
* chromeos_tbmc - Driver to detect Tablet Mode for ChromeOS convertible. // Driver to detect Tablet Mode for ChromeOS convertible.
* //
* Copyright 2017 Google, Inc // Copyright (C) 2017 Google, Inc.
* // Author: Gwendal Grignou <gwendal@chromium.org>
* 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.
*/
#include <linux/acpi.h> #include <linux/acpi.h>
#include <linux/input.h> #include <linux/input.h>