diff options
author | Randall Spangler <rspangler@chromium.org> | 2013-04-11 12:24:03 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-04-11 15:38:08 -0700 |
commit | b9d0d9c60b2b826f37192f6ffb96b23f1c18d6de (patch) | |
tree | cd9fb5251d1b81ad6b155a1f1f017aeb9cd384d6 /chip/lm4/gpio.c | |
parent | 08f8c6857f28a71ca549a9d490717a6d44517c75 (diff) | |
download | chrome-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.c | 5 |
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, |