Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 266982
b: refs/heads/master
c: 069af89
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown committed Sep 9, 2011
1 parent 02cba34 commit edd639d
Show file tree
Hide file tree
Showing 18 changed files with 570 additions and 999 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bbcf61ca8dcf093bd030a4dafb662b714676652d
refs/heads/master: 069af897f9a3f70248d4a7ba3d3d439f7cd66d92
1 change: 0 additions & 1 deletion trunk/drivers/base/regmap/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
obj-$(CONFIG_REGMAP) += regmap.o
obj-$(CONFIG_DEBUG_FS) += regmap-debugfs.o
obj-$(CONFIG_REGMAP_I2C) += regmap-i2c.o
obj-$(CONFIG_REGMAP_SPI) += regmap-spi.o
69 changes: 0 additions & 69 deletions trunk/drivers/base/regmap/internal.h

This file was deleted.

209 changes: 0 additions & 209 deletions trunk/drivers/base/regmap/regmap-debugfs.c

This file was deleted.

3 changes: 2 additions & 1 deletion trunk/drivers/base/regmap/regmap-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,11 @@ static int regmap_i2c_read(struct device *dev,
}

static struct regmap_bus regmap_i2c = {
.type = &i2c_bus_type,
.write = regmap_i2c_write,
.gather_write = regmap_i2c_gather_write,
.read = regmap_i2c_read,
.owner = THIS_MODULE,
};

/**
Expand All @@ -111,4 +113,3 @@ struct regmap *regmap_init_i2c(struct i2c_client *i2c,
}
EXPORT_SYMBOL_GPL(regmap_init_i2c);

MODULE_LICENSE("GPL");
4 changes: 2 additions & 2 deletions trunk/drivers/base/regmap/regmap-spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,11 @@ static int regmap_spi_read(struct device *dev,
}

static struct regmap_bus regmap_spi = {
.type = &spi_bus_type,
.write = regmap_spi_write,
.gather_write = regmap_spi_gather_write,
.read = regmap_spi_read,
.owner = THIS_MODULE,
.read_flag_mask = 0x80,
};

Expand All @@ -68,5 +70,3 @@ struct regmap *regmap_init_spi(struct spi_device *spi,
return regmap_init(&spi->dev, &regmap_spi, config);
}
EXPORT_SYMBOL_GPL(regmap_init_spi);

MODULE_LICENSE("GPL");
Loading

0 comments on commit edd639d

Please sign in to comment.