[PATCH 1/2] glamo-core: remove unused enum

Thibaut Girka thib at sitedethib.com
Thu Jun 24 00:51:12 CEST 2010


---
 drivers/mfd/glamo-core.c |   12 +++---------
 1 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/drivers/mfd/glamo-core.c b/drivers/mfd/glamo-core.c
index 135856a..b90146a 100644
--- a/drivers/mfd/glamo-core.c
+++ b/drivers/mfd/glamo-core.c
@@ -246,24 +246,18 @@ static struct resource glamo_mmc_resources[] = {
 	},
 };
 
-enum glamo_cells {
-	GLAMO_CELL_FB,
-	GLAMO_CELL_MMC,
-	GLAMO_CELL_GPIO,
-};
-
 static const struct mfd_cell glamo_cells[] = {
-	[GLAMO_CELL_FB] = {
+	{
 		.name = "glamo-fb",
 		.num_resources = ARRAY_SIZE(glamo_fb_resources),
 		.resources = glamo_fb_resources,
 	},
-	[GLAMO_CELL_MMC] = {
+	{
 		.name = "glamo-mci",
 		.num_resources = ARRAY_SIZE(glamo_mmc_resources),
 		.resources = glamo_mmc_resources,
 	},
-	[GLAMO_CELL_GPIO] = {
+	{
 		.name = "glamo-gpio",
 	},
 };
-- 
1.7.1




More information about the openmoko-kernel mailing list