浏览代码

regulator: Fix typo in of_get_regulator function comments

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Maxime Ripard 12 年之前
父节点
当前提交
167d41dce7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/regulator/core.c

+ 1 - 1
drivers/regulator/core.c

@@ -116,7 +116,7 @@ static const char *rdev_get_name(struct regulator_dev *rdev)
  * @supply: regulator supply name
  * @supply: regulator supply name
  *
  *
  * Extract the regulator device node corresponding to the supply name.
  * Extract the regulator device node corresponding to the supply name.
- * retruns the device node corresponding to the regulator if found, else
+ * returns the device node corresponding to the regulator if found, else
  * returns NULL.
  * returns NULL.
  */
  */
 static struct device_node *of_get_regulator(struct device *dev, const char *supply)
 static struct device_node *of_get_regulator(struct device *dev, const char *supply)