summaryrefslogtreecommitdiff
path: root/include/gpio.h
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2012-10-29 13:14:11 -0700
committerGerrit <chrome-bot@google.com>2012-10-30 12:42:46 -0700
commitef89439cc03ef03bd95e81a43a4b3bc9f47fa8ba (patch)
treeb0f44a48c5b4f79097057575069bee45fac909ca /include/gpio.h
parente82b68bcb9ae585041f7c9316ed46f58e55c3cfb (diff)
downloadchrome-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.h6
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().