summaryrefslogtreecommitdiff
path: root/src/mainboard/google/beltino/variants
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-28 13:30:59 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-06-04 09:01:25 +0000
commit808fc8ef870a5edf65166af9829eeb49414903c7 (patch)
tree91446ac2ad0c59f6d4202843c0ff77a353ddabb2 /src/mainboard/google/beltino/variants
parent5e4b8ad5a7a5dbb747ec7765f9e88fc481c1554f (diff)
mb/google: Get rid of whitespace before tab
Change-Id: I24fd33887152c12b9db9742af475115b02b31ff2 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26622 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/mainboard/google/beltino/variants')
-rw-r--r--src/mainboard/google/beltino/variants/mccloud/led.c6
-rw-r--r--src/mainboard/google/beltino/variants/tricky/led.c10
2 files changed, 8 insertions, 8 deletions
diff --git a/src/mainboard/google/beltino/variants/mccloud/led.c b/src/mainboard/google/beltino/variants/mccloud/led.c
index b47e50a5a1..332f4c7f93 100644
--- a/src/mainboard/google/beltino/variants/mccloud/led.c
+++ b/src/mainboard/google/beltino/variants/mccloud/led.c
@@ -20,11 +20,11 @@
void set_power_led(int state)
{
it8772f_gpio_led(IT8772F_GPIO_DEV,
- 1, /* set */
- 0x01, /* select */
+ 1, /* set */
+ 0x01, /* select */
state == LED_BLINK ? 0x01 : 0x00, /* polarity */
state == LED_BLINK ? 0x01 : 0x00, /* pullup/pulldown */
- 0x01, /* output */
+ 0x01, /* output */
state == LED_BLINK ? 0x00 : 0x01, /* I/O function */
SIO_GPIO_BLINK_GPIO10,
IT8772F_GPIO_BLINK_FREQUENCY_1_HZ);
diff --git a/src/mainboard/google/beltino/variants/tricky/led.c b/src/mainboard/google/beltino/variants/tricky/led.c
index e6ca6eb8d0..e688a0cc64 100644
--- a/src/mainboard/google/beltino/variants/tricky/led.c
+++ b/src/mainboard/google/beltino/variants/tricky/led.c
@@ -20,12 +20,12 @@
void set_power_led(int state)
{
it8772f_gpio_led(IT8772F_GPIO_DEV,
- 2, /* set */
- 0xF7, /* select */
+ 2, /* set */
+ 0xF7, /* select */
state == LED_OFF ? 0x00 : 0x04, /* polarity */
- state == LED_BLINK ? 0x04 : 0x00, /* pullup/pulldown */
- 0x04, /* output */
- state == LED_BLINK ? 0x00 : 0x04, /* I/O function */
+ state == LED_BLINK ? 0x04 : 0x00, /* pullup/pulldown */
+ 0x04, /* output */
+ state == LED_BLINK ? 0x00 : 0x04, /* I/O function */
SIO_GPIO_BLINK_GPIO22,
IT8772F_GPIO_BLINK_FREQUENCY_1_HZ);
}