summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2017-02-28 10:03:12 -0500
committerLinus Walleij <linus.walleij@linaro.org>2017-03-14 05:51:28 -0400
commitff21378a321f05e8c11265a3bd7622b89df8032e (patch)
tree439eaa1299378dd2a7cf5696caa57798450b851d
parenta72b8c4a63e2a3375b5d3af4a2b70c172570c354 (diff)
gpiolib: Fix spelling of 'successful'
Remove extra 'l' in "successfull". Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-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.