aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinmux.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pinctrl/pinmux.c')
-rw-r--r--drivers/pinctrl/pinmux.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinmux.c b/drivers/pinctrl/pinmux.c
index c77aee5508fb..ee3aba78c3dd 100644
--- a/drivers/pinctrl/pinmux.c
+++ b/drivers/pinctrl/pinmux.c
@@ -174,6 +174,10 @@ out:
174 * @pin: the pin to free 174 * @pin: the pin to free
175 * @gpio_range: the range matching the GPIO pin if this is a request for a 175 * @gpio_range: the range matching the GPIO pin if this is a request for a
176 * single GPIO pin 176 * single GPIO pin
177 *
178 * This function returns a pointer to the function name in use. This is used
179 * for callers that dynamically allocate a function name so it can be freed
180 * once the pin is free. This is done for GPIO request functions.
177 */ 181 */
178static const char *pin_free(struct pinctrl_dev *pctldev, int pin, 182static const char *pin_free(struct pinctrl_dev *pctldev, int pin,
179 struct pinctrl_gpio_range *gpio_range) 183 struct pinctrl_gpio_range *gpio_range)
@@ -919,7 +923,7 @@ int pinmux_hog_maps(struct pinctrl_dev *pctldev)
919} 923}
920 924
921/** 925/**
922 * pinmux_hog_maps() - unhog specific map entries on controller device 926 * pinmux_unhog_maps() - unhog specific map entries on controller device
923 * @pctldev: the pin control device to unhog entries on 927 * @pctldev: the pin control device to unhog entries on
924 */ 928 */
925void pinmux_unhog_maps(struct pinctrl_dev *pctldev) 929void pinmux_unhog_maps(struct pinctrl_dev *pctldev)