summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2013-03-23 11:00:41 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-03-25 02:06:35 +0100
commit167d41dce7633b70aae4175fdec734e1cdd3a190 (patch)
tree5b3ac7d14ff2ab4dcd66e7b0b8c8ab136f929d83 /drivers
parentregulator: core: Mark all get and enable calls as __must_check (diff)
downloadlinux-167d41dce7633b70aae4175fdec734e1cdd3a190.tar.xz
linux-167d41dce7633b70aae4175fdec734e1cdd3a190.zip
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/regulator/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c
index da9782bd27d0..edfa2230d475 100644
--- a/drivers/regulator/core.c
+++ b/drivers/regulator/core.c
@@ -116,7 +116,7 @@ static const char *rdev_get_name(struct regulator_dev *rdev)
* @supply: regulator 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.
*/
static struct device_node *of_get_regulator(struct device *dev, const char *supply)