* [PATCH] gpiolib: Fix comment referring to gpio_*() in gpiod_*()
@ 2016-03-14 15:24 Geert Uytterhoeven
2016-03-16 12:11 ` Linus Walleij
0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2016-03-14 15:24 UTC (permalink / raw)
To: Linus Walleij, Alexandre Courbot
Cc: linux-gpio, linux-kernel, Geert Uytterhoeven
Fixes: 79a9becda8940deb ("gpiolib: export descriptor-based GPIO interface")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
drivers/gpio/gpiolib.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c
index bc788b958c7efb0a..e857417e0b25a5c4 100644
--- a/drivers/gpio/gpiolib.c
+++ b/drivers/gpio/gpiolib.c
@@ -1808,7 +1808,7 @@ static void gpiod_set_array_value_priv(bool raw, bool can_sleep,
void gpiod_set_raw_value(struct gpio_desc *desc, int value)
{
VALIDATE_DESC_VOID(desc);
- /* Should be using gpio_set_value_cansleep() */
+ /* Should be using gpiod_set_value_cansleep() */
WARN_ON(desc->gdev->chip->can_sleep);
_gpiod_set_raw_value(desc, value);
}
@@ -1828,7 +1828,7 @@ EXPORT_SYMBOL_GPL(gpiod_set_raw_value);
void gpiod_set_value(struct gpio_desc *desc, int value)
{
VALIDATE_DESC_VOID(desc);
- /* Should be using gpio_set_value_cansleep() */
+ /* Should be using gpiod_set_value_cansleep() */
WARN_ON(desc->gdev->chip->can_sleep);
if (test_bit(FLAG_ACTIVE_LOW, &desc->flags))
value = !value;
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] gpiolib: Fix comment referring to gpio_*() in gpiod_*()
2016-03-14 15:24 [PATCH] gpiolib: Fix comment referring to gpio_*() in gpiod_*() Geert Uytterhoeven
@ 2016-03-16 12:11 ` Linus Walleij
0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2016-03-16 12:11 UTC (permalink / raw)
To: Geert Uytterhoeven; +Cc: Alexandre Courbot, linux-gpio, linux-kernel
On Mon, Mar 14, 2016 at 4:24 PM, Geert Uytterhoeven
<geert+renesas@glider.be> wrote:
> Fixes: 79a9becda8940deb ("gpiolib: export descriptor-based GPIO interface")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Patch applied.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-03-16 12:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-14 15:24 [PATCH] gpiolib: Fix comment referring to gpio_*() in gpiod_*() Geert Uytterhoeven
2016-03-16 12:11 ` Linus Walleij
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).