From: Ralph Siemsen Date: Fri, 24 Jun 2022 15:19:15 +0000 (-0400) Subject: regmap: fix some comments X-Git-Tag: baikal/mips/sdk5.8.2~5^2~292^2~3^2~1 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=5c0a1ec16684aa5df2670232923e1d5207ac4323;p=uboot.git regmap: fix some comments Correct spelling and copy/paste errors in comments. Fixes 642c29dbe4 ("regmap: Add support for regmap fields") Signed-off-by: Ralph Siemsen Reviewed-by: Simon Glass --- diff --git a/include/regmap.h b/include/regmap.h index 8216de015d..e81a3602ae 100644 --- a/include/regmap.h +++ b/include/regmap.h @@ -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 *