mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
regmap: fix some comments
Correct spelling and copy/paste errors in comments.
Fixes 1c4db59d9b
("regmap: Add support for regmap fields")
Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
5e998b4de3
commit
cc5dfdee6b
1 changed files with 3 additions and 3 deletions
|
@ -460,7 +460,7 @@ struct reg_field {
|
|||
struct regmap_field;
|
||||
|
||||
/**
|
||||
* REG_FIELD() - A convenient way to initialize a 'struct reg_feild'.
|
||||
* REG_FIELD() - A convenient way to initialize a 'struct reg_field'.
|
||||
*
|
||||
* @_reg: Offset of the register within the regmap bank
|
||||
* @_lsb: lsb of the register field.
|
||||
|
@ -519,9 +519,9 @@ void devm_regmap_field_free(struct udevice *dev, struct regmap_field *field);
|
|||
int regmap_field_write(struct regmap_field *field, unsigned int val);
|
||||
|
||||
/**
|
||||
* regmap_read() - Read a 32-bit value from a regmap
|
||||
* regmap_field_read() - Read a 32-bit value from a regmap
|
||||
*
|
||||
* @field: Regmap field to write to
|
||||
* @field: Regmap field to read from
|
||||
* @valp: Pointer to the buffer to receive the data read from the regmap
|
||||
* field
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue