Commit e6337c3c96a7ee5cfd5e7afed825f894d4576f58

Authored by Dong Aisheng
Committed by Linus Walleij
1 parent 3bece55aa5

pinctrl: some typo fixes

Minor copyedits.

Signed-off-by: Dong Aisheng <dong.aisheng@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

Showing 2 changed files with 6 additions and 6 deletions Side-by-side Diff

Documentation/pinctrl.txt
... ... @@ -217,7 +217,7 @@
217 217 #include <linux/pinctrl/pinconf.h>
218 218 #include "platform_x_pindefs.h"
219 219  
220   -int foo_pin_config_get(struct pinctrl_dev *pctldev,
  220 +static int foo_pin_config_get(struct pinctrl_dev *pctldev,
221 221 unsigned offset,
222 222 unsigned long *config)
223 223 {
... ... @@ -228,7 +228,7 @@
228 228 *config = (unsigned long) conf;
229 229 }
230 230  
231   -int foo_pin_config_set(struct pinctrl_dev *pctldev,
  231 +static int foo_pin_config_set(struct pinctrl_dev *pctldev,
232 232 unsigned offset,
233 233 unsigned long config)
234 234 {
235 235  
... ... @@ -241,14 +241,14 @@
241 241 }
242 242 }
243 243  
244   -int foo_pin_config_group_get (struct pinctrl_dev *pctldev,
  244 +static int foo_pin_config_group_get (struct pinctrl_dev *pctldev,
245 245 unsigned selector,
246 246 unsigned long *config)
247 247 {
248 248 ...
249 249 }
250 250  
251   -int foo_pin_config_group_set (struct pinctrl_dev *pctldev,
  251 +static int foo_pin_config_group_set (struct pinctrl_dev *pctldev,
252 252 unsigned selector,
253 253 unsigned long config)
254 254 {
... ... @@ -819,7 +819,7 @@
819 819 0 for mapping, for example:
820 820  
821 821 static struct pinmux_map __initdata pmx_mapping[] = {
822   - PINMUX_MAP_PRIMARY("I2CMAP", "i2c0", "foo-i2c.0"),
  822 + PINMUX_MAP("I2CMAP", "pinctrl-foo", "i2c0", "foo-i2c.0"),
823 823 };
824 824  
825 825  
drivers/pinctrl/pinmux.c
... ... @@ -342,7 +342,7 @@
342 342 * Only call this once during initialization of your machine, the function is
343 343 * tagged as __init and won't be callable after init has completed. The map
344 344 * passed into this function will be owned by the pinmux core and cannot be
345   - * free:d.
  345 + * freed.
346 346 */
347 347 int __init pinmux_register_mappings(struct pinmux_map const *maps,
348 348 unsigned num_maps)