diff options
| author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2013-01-16 08:53:58 -0500 |
|---|---|---|
| committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-02-13 18:22:52 -0500 |
| commit | ac7bc5a953c38c32513d1825decf336c4909ce3b (patch) | |
| tree | 2801207978d6de3a4b51906c5dbec6356d7afbb9 /include/linux/i2c | |
| parent | 80a97ccd33be9c79018d3d4983eefa3e6d6bfb6d (diff) | |
mfd: twl-core: Remove no longer valid comment regarding to write buffer size
With the regmap conversion there is no longeer a need to allocate bigger
buffer for writes
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/i2c')
| -rw-r--r-- | include/linux/i2c/twl.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/i2c/twl.h b/include/linux/i2c/twl.h index 72adc8807912..e441fd8e7c86 100644 --- a/include/linux/i2c/twl.h +++ b/include/linux/i2c/twl.h | |||
| @@ -182,9 +182,6 @@ int twl_i2c_read_u8(u8 mod_no, u8 *val, u8 reg); | |||
| 182 | 182 | ||
| 183 | /* | 183 | /* |
| 184 | * Read and write several 8-bit registers at once. | 184 | * Read and write several 8-bit registers at once. |
| 185 | * | ||
| 186 | * IMPORTANT: For twl_i2c_write(), allocate num_bytes + 1 | ||
| 187 | * for the value, and populate your data starting at offset 1. | ||
| 188 | */ | 185 | */ |
| 189 | int twl_i2c_write(u8 mod_no, u8 *value, u8 reg, unsigned num_bytes); | 186 | int twl_i2c_write(u8 mod_no, u8 *value, u8 reg, unsigned num_bytes); |
| 190 | int twl_i2c_read(u8 mod_no, u8 *value, u8 reg, unsigned num_bytes); | 187 | int twl_i2c_read(u8 mod_no, u8 *value, u8 reg, unsigned num_bytes); |
