Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1312672

[PATCH] regmap: clairify meaning of max_register

From Stefan Agner <stefan@agner.ch>
Newsgroups linux.kernel
Subject [PATCH] regmap: clairify meaning of max_register
Date 2016-01-20 02:20 +0100
Message-ID <qSPBj-7xH-71@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


The exact meaning of max_register is not entierly clear. Follow
the common wording and use "address" instead of "index".

Signed-off-by: Stefan Agner <stefan@agner.ch>
---
 include/linux/regmap.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/regmap.h b/include/linux/regmap.h
index 1839434..27aaac9 100644
--- a/include/linux/regmap.h
+++ b/include/linux/regmap.h
@@ -162,7 +162,7 @@ typedef void (*regmap_unlock)(void *);
  *		  This field is a duplicate of a similar file in
  *		  'struct regmap_bus' and serves exact same purpose.
  *		   Use it only for "no-bus" cases.
- * @max_register: Optional, specifies the maximum valid register index.
+ * @max_register: Optional, specifies the maximum valid register address.
  * @wr_table:     Optional, points to a struct regmap_access_table specifying
  *                valid ranges for write access.
  * @rd_table:     As above, for read access.
-- 
2.7.0

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] regmap: clairify meaning of max_register Stefan Agner <stefan@agner.ch> - 2016-01-20 02:20 +0100
  Applied "regmap: clairify meaning of max_register" to the regmap tree Mark Brown <broonie@kernel.org> - 2016-01-22 19:30 +0100

csiph-web