* [PATCH 1/1] regmap: trivial comment fix (copy'n'paste error)
@ 2013-11-11 9:42 Gerhard Sittig
2013-11-12 1:24 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Gerhard Sittig @ 2013-11-11 9:42 UTC (permalink / raw)
To: Jiri Kosina; +Cc: Mark Brown, linux-kernel, Gerhard Sittig
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>
---
drivers/base/regmap/regmap.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/base/regmap/regmap.c b/drivers/base/regmap/regmap.c
index 7d689a15c500..d92648f771c4 100644
--- a/drivers/base/regmap/regmap.c
+++ b/drivers/base/regmap/regmap.c
@@ -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
--
1.7.10.4
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 1/1] regmap: trivial comment fix (copy'n'paste error)
2013-11-11 9:42 [PATCH 1/1] regmap: trivial comment fix (copy'n'paste error) Gerhard Sittig
@ 2013-11-12 1:24 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2013-11-12 1:24 UTC (permalink / raw)
To: Gerhard Sittig; +Cc: Jiri Kosina, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 231 bytes --]
On Mon, Nov 11, 2013 at 10:42:36AM +0100, Gerhard Sittig wrote:
> 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
Applied, thanks.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-11-12 1:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-11 9:42 [PATCH 1/1] regmap: trivial comment fix (copy'n'paste error) Gerhard Sittig
2013-11-12 1:24 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®