summaryrefslogtreecommitdiff
path: root/chip/lm4/gpio.c
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2013-04-11 12:24:03 -0700
committerChromeBot <chrome-bot@google.com>2013-04-11 15:38:08 -0700
commitb9d0d9c60b2b826f37192f6ffb96b23f1c18d6de (patch)
treecd9fb5251d1b81ad6b155a1f1f017aeb9cd384d6 /chip/lm4/gpio.c
parent08f8c6857f28a71ca549a9d490717a6d44517c75 (diff)
downloadchrome-ec-b9d0d9c60b2b826f37192f6ffb96b23f1c18d6de.tar.gz
Move gpio_get_name() to gpio_common.c
Its implementation is the same on all platforms. No functional changes, just renaming/moving. BUG=chrome-os-partner:18343 BRANCH=none TEST=build all platforms Change-Id: I78741c6587ea61e7ac8edae5a509502b7ab5078b Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/47898 Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'chip/lm4/gpio.c')
-rw-r--r--chip/lm4/gpio.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/chip/lm4/gpio.c b/chip/lm4/gpio.c
index 9c276634c1..bce2138ca2 100644
--- a/chip/lm4/gpio.c
+++ b/chip/lm4/gpio.c
@@ -77,11 +77,6 @@ void gpio_set_alternate_function(int port, int mask, int func)
LM4_GPIO_DEN(port) |= mask;
}
-const char *gpio_get_name(enum gpio_signal signal)
-{
- return gpio_list[signal].name;
-}
-
int gpio_get_level(enum gpio_signal signal)
{
return LM4_GPIO_DATA(gpio_list[signal].port,