diff options
author | Stefan Agner <stefan@agner.ch> | 2016-01-19 20:14:39 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-01-22 11:44:04 -0500 |
commit | b429fab4467e2320f67c058d7419c03c7221d125 (patch) | |
tree | 4f8c13516d61e2258396b1dfb970ab676ccdf8ff | |
parent | 6cb07abcc318be8dfbec5d19bc982536d64106a9 (diff) |
regmap: clairify meaning of max_register
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>
-rw-r--r-- | include/linux/regmap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/regmap.h b/include/linux/regmap.h index 18394343f489..27aaac9027c4 100644 --- a/include/linux/regmap.h +++ b/include/linux/regmap.h | |||
@@ -162,7 +162,7 @@ typedef void (*regmap_unlock)(void *); | |||
162 | * This field is a duplicate of a similar file in | 162 | * This field is a duplicate of a similar file in |
163 | * 'struct regmap_bus' and serves exact same purpose. | 163 | * 'struct regmap_bus' and serves exact same purpose. |
164 | * Use it only for "no-bus" cases. | 164 | * Use it only for "no-bus" cases. |
165 | * @max_register: Optional, specifies the maximum valid register index. | 165 | * @max_register: Optional, specifies the maximum valid register address. |
166 | * @wr_table: Optional, points to a struct regmap_access_table specifying | 166 | * @wr_table: Optional, points to a struct regmap_access_table specifying |
167 | * valid ranges for write access. | 167 | * valid ranges for write access. |
168 | * @rd_table: As above, for read access. | 168 | * @rd_table: As above, for read access. |