diff options
author | Randall Spangler <rspangler@chromium.org> | 2012-10-29 13:14:11 -0700 |
---|---|---|
committer | Gerrit <chrome-bot@google.com> | 2012-10-30 12:42:46 -0700 |
commit | ef89439cc03ef03bd95e81a43a4b3bc9f47fa8ba (patch) | |
tree | b0f44a48c5b4f79097057575069bee45fac909ca /include/gpio.h | |
parent | e82b68bcb9ae585041f7c9316ed46f58e55c3cfb (diff) | |
download | chrome-ec-ef89439cc03ef03bd95e81a43a4b3bc9f47fa8ba.tar.gz |
Clean up GPIO module.
No functional changes, just code cleanup.
BUG=chrome-os-partner:15579
BRANCH=none
TEST=gpioget returns reasonable values
Change-Id: I4301ccc68ade775f78f4ccd84710d2cd4bc25252
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/36800
Diffstat (limited to 'include/gpio.h')
-rw-r--r-- | include/gpio.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/gpio.h b/include/gpio.h index 77923ef4cb..05470b3f1d 100644 --- a/include/gpio.h +++ b/include/gpio.h @@ -58,14 +58,14 @@ extern const struct gpio_info gpio_list[GPIO_COUNT]; #define GPIO_SIGNAL_NOT_IMPLEMENTED(name) {name, LM4_GPIO_A, 0, 0, NULL} /** - * Pre-initializes the module. + * Pre-initialize GPIOs. * * This occurs before clocks or tasks are set up. */ void gpio_pre_init(void); /** - * Get the current value of a signal + * Get the current value of a signal. * * @param signal Signal to get * @return 0 if low, 1 if high. @@ -73,7 +73,7 @@ void gpio_pre_init(void); int gpio_get_level(enum gpio_signal signal); /** - * Get faster access to a GPIO level + * Get faster access to a GPIO level. * * Use this function to find out the register address and mask for a GPIO * value. Then you can just check that instead of calling gpio_get_level(). |