diff options
author | Gerhard Sittig <gsi@denx.de> | 2013-11-11 10:42:36 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-11-12 01:23:53 +0000 |
commit | 0093380c18a4bfc5526577da576335d08bdea2e5 (patch) | |
tree | 7ca89241a8c32d481c891b2ff778bf38979d3c91 /drivers/base | |
parent | 04bc9ac163a2550c7bc32750ea8dd2e049102be2 (diff) | |
download | blackbird-op-linux-0093380c18a4bfc5526577da576335d08bdea2e5.tar.gz blackbird-op-linux-0093380c18a4bfc5526577da576335d08bdea2e5.zip |
regmap: trivial comment fix (copy'n'paste error)
fix a trivial copy'n'paste error in the regmap kerneldoc, s/write/read/
for the regmap_read(), regmap_raw_read() and regmap_bulk_read() routines
Signed-off-by: Gerhard Sittig <gsi@denx.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/base')
-rw-r--r-- | drivers/base/regmap/regmap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/base/regmap/regmap.c b/drivers/base/regmap/regmap.c index 9c021d9cace0..f441084bbc8d 100644 --- a/drivers/base/regmap/regmap.c +++ b/drivers/base/regmap/regmap.c @@ -1743,7 +1743,7 @@ static int _regmap_read(struct regmap *map, unsigned int reg, /** * regmap_read(): Read a value from a single register * - * @map: Register map to write to + * @map: Register map to read from * @reg: Register to be read from * @val: Pointer to store read value * @@ -1770,7 +1770,7 @@ EXPORT_SYMBOL_GPL(regmap_read); /** * regmap_raw_read(): Read raw data from the device * - * @map: Register map to write to + * @map: Register map to read from * @reg: First register to be read from * @val: Pointer to store read value * @val_len: Size of data to read @@ -1882,7 +1882,7 @@ EXPORT_SYMBOL_GPL(regmap_fields_read); /** * regmap_bulk_read(): Read multiple registers from the device * - * @map: Register map to write to + * @map: Register map to read from * @reg: First register to be read from * @val: Pointer to store read value, in native register size for device * @val_count: Number of registers to read |