summaryrefslogtreecommitdiff
path: root/common/espi.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/espi.c')
-rw-r--r--common/espi.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/common/espi.c b/common/espi.c
index 0a747d3bda..dfb1f90749 100644
--- a/common/espi.c
+++ b/common/espi.c
@@ -1,4 +1,4 @@
-/* Copyright 2017 The Chromium OS Authors. All rights reserved.
+/* Copyright 2017 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
@@ -12,7 +12,6 @@
#include "timer.h"
#include "util.h"
-
const char *espi_vw_names[] = {
"VW_SLP_S3_L",
"VW_SLP_S4_L",
@@ -41,7 +40,6 @@ const char *espi_vw_names[] = {
};
BUILD_ASSERT(ARRAY_SIZE(espi_vw_names) == VW_SIGNAL_COUNT);
-
const char *espi_vw_get_wire_name(enum espi_vw_signal signal)
{
if (espi_signal_is_vw(signal))
@@ -50,7 +48,6 @@ const char *espi_vw_get_wire_name(enum espi_vw_signal signal)
return NULL;
}
-
int espi_signal_is_vw(int signal)
{
return ((signal >= VW_SIGNAL_START) && (signal < VW_SIGNAL_END));