summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpio/devres.c2
-rw-r--r--drivers/gpio/gpiolib.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpio/devres.c b/drivers/gpio/devres.c
index 7031eea165c9..a75511d1ea5d 100644
--- a/drivers/gpio/devres.c
+++ b/drivers/gpio/devres.c
@@ -136,7 +136,7 @@ EXPORT_SYMBOL(devm_gpiod_get_index);
136 * GPIO descriptors returned from this function are automatically disposed on 136 * GPIO descriptors returned from this function are automatically disposed on
137 * driver detach. 137 * driver detach.
138 * 138 *
139 * On successfull request the GPIO pin is configured in accordance with 139 * On successful request the GPIO pin is configured in accordance with
140 * provided @flags. 140 * provided @flags.
141 */ 141 */
142struct gpio_desc *devm_fwnode_get_index_gpiod_from_child(struct device *dev, 142struct gpio_desc *devm_fwnode_get_index_gpiod_from_child(struct device *dev,
diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c
index 8b4d721d6d63..530b1ba984a4 100644
--- a/drivers/gpio/gpiolib.c
+++ b/drivers/gpio/gpiolib.c
@@ -3326,7 +3326,7 @@ EXPORT_SYMBOL_GPL(gpiod_get_index);
3326 * underlying firmware interface and then makes sure that the GPIO 3326 * underlying firmware interface and then makes sure that the GPIO
3327 * descriptor is requested before it is returned to the caller. 3327 * descriptor is requested before it is returned to the caller.
3328 * 3328 *
3329 * On successfull request the GPIO pin is configured in accordance with 3329 * On successful request the GPIO pin is configured in accordance with
3330 * provided @dflags. 3330 * provided @dflags.
3331 * 3331 *
3332 * In case of error an ERR_PTR() is returned. 3332 * In case of error an ERR_PTR() is returned.