Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 266978
b: refs/heads/master
c: 5b457e3
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown committed Sep 5, 2011
1 parent 8a53ddd commit 2d95b92
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 6 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: a7ace561f1e3ebbf40ff20adde9968721a55ef0a
refs/heads/master: 5b457e3910251ef28712ba5d14adac8194bd5b2c
1 change: 0 additions & 1 deletion trunk/drivers/base/regmap/regmap-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ static struct regmap_bus regmap_i2c = {
.write = regmap_i2c_write,
.gather_write = regmap_i2c_gather_write,
.read = regmap_i2c_read,
.owner = THIS_MODULE,
};

/**
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/base/regmap/regmap-spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ static struct regmap_bus regmap_spi = {
.write = regmap_spi_write,
.gather_write = regmap_spi_gather_write,
.read = regmap_spi_read,
.owner = THIS_MODULE,
.read_flag_mask = 0x80,
};

Expand Down
3 changes: 0 additions & 3 deletions trunk/include/linux/regmap.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,16 +85,13 @@ typedef int (*regmap_hw_read)(struct device *dev,
* if not implemented on a given device.
* @read: Read operation. Data is returned in the buffer used to transmit
* data.
* @owner: Module with the bus implementation, used to pin the implementation
* in memory.
* @read_flag_mask: Mask to be set in the top byte of the register when doing
* a read.
*/
struct regmap_bus {
regmap_hw_write write;
regmap_hw_gather_write gather_write;
regmap_hw_read read;
struct module *owner;
u8 read_flag_mask;
};

Expand Down

0 comments on commit 2d95b92

Please sign in to comment.