pinctrl: fix some pinmux typos

Fix some pinmux typos so implementing pinmux drivers
is a bit easier.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Tony Lindgren and committed by
Linus Walleij
de849eec 02157160

+3 -8
+1 -1
Documentation/pinctrl.txt
··· 1024 1025 foo_switch() 1026 { 1027 - struct pinmux pmx; 1028 1029 /* Enable on position A */ 1030 pmx = pinmux_get(&device, "spi0-pos-A");
··· 1024 1025 foo_switch() 1026 { 1027 + struct pinmux *pmx; 1028 1029 /* Enable on position A */ 1030 pmx = pinmux_get(&device, "spi0-pos-A");
+2 -7
drivers/pinctrl/pinmux.c
··· 53 * @dev: the device using this pinmux 54 * @usecount: the number of active users of this mux setting, used to keep 55 * track of nested use cases 56 - * @pins: an array of discrete physical pins used in this mapping, taken 57 - * from the global pin enumeration space (copied from pinmux map) 58 - * @num_pins: the number of pins in this mapping array, i.e. the number of 59 - * elements in .pins so we can iterate over that array (copied from 60 - * pinmux map) 61 * @pctldev: pin control device handling this pinmux 62 * @func_selector: the function selector for the pinmux device handling 63 * this pinmux ··· 404 } 405 406 /** 407 - * acquire_pins() - acquire all the pins for a certain funcion on a pinmux 408 * @pctldev: the device to take the pins on 409 * @func_selector: the function selector to acquire the pins for 410 * @group_selector: the group selector containing the pins to acquire ··· 450 451 /** 452 * release_pins() - release pins taken by earlier acquirement 453 - * @pctldev: the device to free the pinx on 454 * @group_selector: the group selector containing the pins to free 455 */ 456 static void release_pins(struct pinctrl_dev *pctldev,
··· 53 * @dev: the device using this pinmux 54 * @usecount: the number of active users of this mux setting, used to keep 55 * track of nested use cases 56 * @pctldev: pin control device handling this pinmux 57 * @func_selector: the function selector for the pinmux device handling 58 * this pinmux ··· 409 } 410 411 /** 412 + * acquire_pins() - acquire all the pins for a certain function on a pinmux 413 * @pctldev: the device to take the pins on 414 * @func_selector: the function selector to acquire the pins for 415 * @group_selector: the group selector containing the pins to acquire ··· 455 456 /** 457 * release_pins() - release pins taken by earlier acquirement 458 + * @pctldev: the device to free the pins on 459 * @group_selector: the group selector containing the pins to free 460 */ 461 static void release_pins(struct pinctrl_dev *pctldev,