提交 b429fab4 编写于 作者: S Stefan Agner 提交者: Mark Brown

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: NStefan Agner <stefan@agner.ch>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 6cb07abc
...@@ -162,7 +162,7 @@ typedef void (*regmap_unlock)(void *); ...@@ -162,7 +162,7 @@ typedef void (*regmap_unlock)(void *);
* This field is a duplicate of a similar file in * This field is a duplicate of a similar file in
* 'struct regmap_bus' and serves exact same purpose. * 'struct regmap_bus' and serves exact same purpose.
* Use it only for "no-bus" cases. * 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 * @wr_table: Optional, points to a struct regmap_access_table specifying
* valid ranges for write access. * valid ranges for write access.
* @rd_table: As above, for read access. * @rd_table: As above, for read access.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册