]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
regmap: clairify meaning of max_register
authorStefan Agner <stefan@agner.ch>
Wed, 20 Jan 2016 01:14:39 +0000 (17:14 -0800)
committerMark Brown <broonie@kernel.org>
Fri, 22 Jan 2016 16:44:04 +0000 (16:44 +0000)
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>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/linux/regmap.h

index 18394343f4891a42dc986e4a17e9c9ebb0b747ee..27aaac9027c4545d0e69a22b49128b380218cbe3 100644 (file)
@@ -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.