From b50bdceadf43eea66e4539144c50eabb3bbb1c2a Mon Sep 17 00:00:00 2001 From: Douglas Raillard Date: Thu, 3 Aug 2017 15:59:49 +0100 Subject: [PATCH] GICv3: Fix gic600.c indentation Reindent the file using tabs as the mix of spaces and tabs confuses some editors and leads them to use spaces instead of tabs for new code although the coding style mandates tabs. Change-Id: I87fa4a5d368a048340054b9b3622325f3f7befba Signed-off-by: Douglas Raillard --- drivers/arm/gic/v3/gic600.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/arm/gic/v3/gic600.c b/drivers/arm/gic/v3/gic600.c index 4ea31ab16..217c08fdb 100644 --- a/drivers/arm/gic/v3/gic600.c +++ b/drivers/arm/gic/v3/gic600.c @@ -18,19 +18,19 @@ #include "gicv3_private.h" /* GIC600-specific register offsets */ -#define GICR_PWRR 0x24 +#define GICR_PWRR 0x24 /* GICR_PWRR fields */ #define PWRR_RDPD_SHIFT 0 #define PWRR_RDGPD_SHIFT 2 #define PWRR_RDGPO_SHIFT 3 -#define PWRR_RDGPD (1 << PWRR_RDGPD_SHIFT) -#define PWRR_RDGPO (1 << PWRR_RDGPO_SHIFT) +#define PWRR_RDGPD (1 << PWRR_RDGPD_SHIFT) +#define PWRR_RDGPO (1 << PWRR_RDGPO_SHIFT) /* Values to write to GICR_PWRR register to power redistributor */ -#define PWRR_ON (0 << PWRR_RDPD_SHIFT) -#define PWRR_OFF (1 << PWRR_RDPD_SHIFT) +#define PWRR_ON (0 << PWRR_RDPD_SHIFT) +#define PWRR_OFF (1 << PWRR_RDPD_SHIFT) /* Generic GICv3 resources */ extern const gicv3_driver_data_t *gicv3_driver_data; @@ -38,12 +38,12 @@ extern const gicv3_driver_data_t *gicv3_driver_data; /* GIC600-specific accessor functions */ static void gicr_write_pwrr(uintptr_t base, unsigned int val) { - mmio_write_32(base + GICR_PWRR, val); + mmio_write_32(base + GICR_PWRR, val); } static uint32_t gicr_read_pwrr(uintptr_t base) { - return mmio_read_32(base + GICR_PWRR); + return mmio_read_32(base + GICR_PWRR); } static int gicr_group_powering_down(uint32_t pwrr) -- 2.39.5