summaryrefslogtreecommitdiff
path: root/board/pit
diff options
context:
space:
mode:
authorAnton Staaf <robotboy@chromium.org>2014-06-25 13:09:37 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-07-01 00:43:04 +0000
commit3500c28b501c9fc0918552bb70cb53391dd3f3fd (patch)
tree04ead74394aa01c93d127c98c997c6f019ad9c39 /board/pit
parentf1ddcab82d5966ef320e027be7670a106c990cdf (diff)
downloadchrome-ec-3500c28b501c9fc0918552bb70cb53391dd3f3fd.tar.gz
gpio: Reformat gpio.inc files to use longer than 80-column lines
These files are tabular data more than source code. We discussed and concluded that the 80-column limit makes them harder to read, not easier. This commit reformats them to take advantage of longer lines, mainly by putting per GPIO comments on the end of the line that defines the GPIO. Signed-off-by: Anton Staaf <robotboy@chromium.org> BRANCH=none TEST=make buildall -j Change-Id: I60f3e3620680196eb9462f97b34c453289240465 Reviewed-on: https://chromium-review.googlesource.com/205672 Tested-by: Anton Staaf <robotboy@chromium.org> Reviewed-by: Bill Richardson <wfrichar@chromium.org> Commit-Queue: Anton Staaf <robotboy@chromium.org>
Diffstat (limited to 'board/pit')
-rw-r--r--board/pit/gpio.inc14
1 files changed, 7 insertions, 7 deletions
diff --git a/board/pit/gpio.inc b/board/pit/gpio.inc
index 7f2e5295fa..2f64bf01e3 100644
--- a/board/pit/gpio.inc
+++ b/board/pit/gpio.inc
@@ -6,14 +6,14 @@
*/
/* Inputs with interrupt handlers are first for efficiency */
-GPIO(KB_PWR_ON_L, B, 5, GPIO_INT_BOTH, power_signal_interrupt)
-GPIO(PP1800_LDO2, A, 1, GPIO_INT_BOTH, power_signal_interrupt)
-GPIO(SOC1V8_XPSHOLD, A, 3, GPIO_INT_RISING, power_signal_interrupt)
-GPIO(CHARGER_INT_L, C, 6, GPIO_INT_FALLING, pmu_irq_handler)
-GPIO(LID_OPEN, C, 13, GPIO_INT_BOTH, lid_interrupt)
-GPIO(SUSPEND_L, C, 7, GPIO_INT_BOTH, power_signal_interrupt)
+GPIO(KB_PWR_ON_L, B, 5, GPIO_INT_BOTH, power_signal_interrupt)
+GPIO(PP1800_LDO2, A, 1, GPIO_INT_BOTH, power_signal_interrupt)
+GPIO(SOC1V8_XPSHOLD, A, 3, GPIO_INT_RISING, power_signal_interrupt)
+GPIO(CHARGER_INT_L, C, 6, GPIO_INT_FALLING, pmu_irq_handler)
+GPIO(LID_OPEN, C, 13, GPIO_INT_BOTH, lid_interrupt)
+GPIO(SUSPEND_L, C, 7, GPIO_INT_BOTH, power_signal_interrupt)
GPIO(SPI1_NSS, A, 4, GPIO_INT_BOTH | GPIO_PULL_UP, spi_event)
-GPIO(AC_PRESENT, A, 0, GPIO_INT_BOTH, extpower_interrupt)
+GPIO(AC_PRESENT, A, 0, GPIO_INT_BOTH, extpower_interrupt)
/* Keyboard inputs */
GPIO(KB_IN00, C, 8, GPIO_KB_INPUT, keyboard_raw_gpio_interrupt)