regmap: trivial comment fix (copy'n'paste error)
Subsystems (2)
PATCH 1/1 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 <[email protected]>
--- drivers/base/regmap/regmap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/base/regmap/regmap.c +3 -3
@@ -1573,7 +1573,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 *
@@ -1600,7 +1600,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
@@ -1679,7 +1679,7 @@ EXPORT_SYMBOL_GPL(regmap_field_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
Signature · 1 line
1.7.10.4
Quoted 2 lines · Gerhard Sittig
fix a trivial copy'n'paste error in the regmap kerneldoc, s/write/read/ for the
regmap_read(),regmap_raw_read()andregmap_bulk_read()routines
Applied, thanks.