Commit 3ec440e3 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Linus Walleij

pinctrl: Fix spelling typos

Just fix spelling typos in comments.
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent c825676b
...@@ -1062,7 +1062,7 @@ static struct pinctrl *create_pinctrl(struct device *dev, ...@@ -1062,7 +1062,7 @@ static struct pinctrl *create_pinctrl(struct device *dev,
mutex_unlock(&pinctrl_maps_mutex); mutex_unlock(&pinctrl_maps_mutex);
if (ret < 0) { if (ret < 0) {
/* If some other error than deferral occured, return here */ /* If some other error than deferral occurred, return here */
pinctrl_free(p, false); pinctrl_free(p, false);
return ERR_PTR(ret); return ERR_PTR(ret);
} }
......
...@@ -187,7 +187,7 @@ static const struct pinconf_generic_params dt_params[] = { ...@@ -187,7 +187,7 @@ static const struct pinconf_generic_params dt_params[] = {
* @ncfg: Number of entries in @cfg * @ncfg: Number of entries in @cfg
* *
* Parse the config options described in @params from @np and puts the result * Parse the config options described in @params from @np and puts the result
* in @cfg. @cfg does not need to be empty, entries are added beggining at * in @cfg. @cfg does not need to be empty, entries are added beginning at
* @ncfg. @ncfg is updated to reflect the number of entries after parsing. @cfg * @ncfg. @ncfg is updated to reflect the number of entries after parsing. @cfg
* needs to have enough memory allocated to hold all possible entries. * needs to have enough memory allocated to hold all possible entries.
*/ */
......
...@@ -284,7 +284,7 @@ void pinconf_show_setting(struct seq_file *s, ...@@ -284,7 +284,7 @@ void pinconf_show_setting(struct seq_file *s,
} }
/* /*
* FIXME: We should really get the pin controler to dump the config * FIXME: We should really get the pin controller to dump the config
* values, so they can be decoded to something meaningful. * values, so they can be decoded to something meaningful.
*/ */
pinconf_show_config(s, pctldev, setting->data.configs.configs, pinconf_show_config(s, pctldev, setting->data.configs.configs,
...@@ -473,7 +473,7 @@ static int pinconf_dbg_config_print(struct seq_file *s, void *d) ...@@ -473,7 +473,7 @@ static int pinconf_dbg_config_print(struct seq_file *s, void *d)
* "config_pin" or "config_group", alternatives like config_mux are not * "config_pin" or "config_group", alternatives like config_mux are not
* supported yet. * supported yet.
* <devicename> <state> <name> are values that should match the pinctrl-maps * <devicename> <state> <name> are values that should match the pinctrl-maps
* <newvalue> reflects the new config and is driver dependant * <newvalue> reflects the new config and is driver dependent
*/ */
static ssize_t pinconf_dbg_config_write(struct file *file, static ssize_t pinconf_dbg_config_write(struct file *file,
const char __user *user_buf, size_t count, loff_t *ppos) const char __user *user_buf, size_t count, loff_t *ppos)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment