[PATCH 2/2] glamo-core: clearer indentation for register sets
Thibaut Girka
thib at sitedethib.com
Fri Sep 24 20:54:11 CEST 2010
---
drivers/mfd/glamo-core.c | 75 ++++++++++++++++++++++++++++------------------
1 files changed, 46 insertions(+), 29 deletions(-)
diff --git a/drivers/mfd/glamo-core.c b/drivers/mfd/glamo-core.c
index 88f2109..6c99c51 100644
--- a/drivers/mfd/glamo-core.c
+++ b/drivers/mfd/glamo-core.c
@@ -413,54 +413,71 @@ struct glamo_engine_desc {
};
static const struct glamo_engine_reg_set glamo_lcd_regs[] = {
- { GLAMO_REG_CLOCK_LCD,
- GLAMO_CLOCK_LCD_EN_M5CLK |
- GLAMO_CLOCK_LCD_DG_M5CLK |
- GLAMO_CLOCK_LCD_EN_DMCLK,
+ {
+ GLAMO_REG_CLOCK_LCD,
+
+ GLAMO_CLOCK_LCD_EN_M5CLK |
+ GLAMO_CLOCK_LCD_DG_M5CLK |
+ GLAMO_CLOCK_LCD_EN_DMCLK,
- GLAMO_CLOCK_LCD_EN_DHCLK |
- GLAMO_CLOCK_LCD_EN_DCLK
+ GLAMO_CLOCK_LCD_EN_DHCLK |
+ GLAMO_CLOCK_LCD_EN_DCLK
},
- { GLAMO_REG_CLOCK_GEN5_1,
- GLAMO_CLOCK_GEN51_EN_DIV_DMCLK,
+ {
+ GLAMO_REG_CLOCK_GEN5_1,
- GLAMO_CLOCK_GEN51_EN_DIV_DHCLK |
- GLAMO_CLOCK_GEN51_EN_DIV_DCLK
+ GLAMO_CLOCK_GEN51_EN_DIV_DMCLK,
+
+ GLAMO_CLOCK_GEN51_EN_DIV_DHCLK |
+ GLAMO_CLOCK_GEN51_EN_DIV_DCLK
}
};
static const struct glamo_engine_reg_set glamo_mmc_regs[] = {
- { GLAMO_REG_CLOCK_MMC,
- GLAMO_CLOCK_MMC_EN_M9CLK |
- GLAMO_CLOCK_MMC_DG_M9CLK,
+ {
+ GLAMO_REG_CLOCK_MMC,
- GLAMO_CLOCK_MMC_EN_TCLK |
- GLAMO_CLOCK_MMC_DG_TCLK
+ GLAMO_CLOCK_MMC_EN_M9CLK |
+ GLAMO_CLOCK_MMC_DG_M9CLK,
+
+ GLAMO_CLOCK_MMC_EN_TCLK |
+ GLAMO_CLOCK_MMC_DG_TCLK
},
- { GLAMO_REG_CLOCK_GEN5_1,
- 0,
- GLAMO_CLOCK_GEN51_EN_DIV_TCLK
+ {
+ GLAMO_REG_CLOCK_GEN5_1,
+
+ 0,
+
+ GLAMO_CLOCK_GEN51_EN_DIV_TCLK
}
};
static const struct glamo_engine_reg_set glamo_2d_regs[] = {
- { GLAMO_REG_CLOCK_2D,
- GLAMO_CLOCK_2D_EN_M7CLK |
- GLAMO_CLOCK_2D_DG_M7CLK,
+ {
+ GLAMO_REG_CLOCK_2D,
+
+ GLAMO_CLOCK_2D_EN_M7CLK |
+ GLAMO_CLOCK_2D_DG_M7CLK,
- GLAMO_CLOCK_2D_EN_GCLK |
- GLAMO_CLOCK_2D_DG_GCLK
+ GLAMO_CLOCK_2D_EN_GCLK |
+ GLAMO_CLOCK_2D_DG_GCLK
},
- { GLAMO_REG_CLOCK_GEN5_1,
- 0,
- GLAMO_CLOCK_GEN51_EN_DIV_GCLK,
+ {
+ GLAMO_REG_CLOCK_GEN5_1,
+
+ 0,
+
+ GLAMO_CLOCK_GEN51_EN_DIV_GCLK,
}
};
static const struct glamo_engine_reg_set glamo_cmdq_regs[] = {
- { GLAMO_REG_CLOCK_2D,
- GLAMO_CLOCK_2D_EN_M6CLK,
- 0
+ {
+ GLAMO_REG_CLOCK_2D,
+
+ GLAMO_CLOCK_2D_EN_M6CLK,
+
+ 0
},
};
--
1.7.1
More information about the openmoko-kernel
mailing list