From: Stephen Boyd Date: Mon, 8 Oct 2018 16:32:16 +0000 (-0700) Subject: gpio: Clarify kerneldoc on gpiochip_set_chained_irqchip() X-Git-Tag: v5.15~7808^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=40f5ff4f9f23a849ad135cb736d4d448d810ac17;p=platform%2Fkernel%2Flinux-starfive.git gpio: Clarify kerneldoc on gpiochip_set_chained_irqchip() This doesn't support nested anymore, so drivers shouldn't call it with the handler set to NULL. Cc: Evan Green Cc: Thierry Reding Cc: Grygorii Strashko Signed-off-by: Stephen Boyd Signed-off-by: Linus Walleij --- diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c index 6f6b4c2..17dc230 100644 --- a/drivers/gpio/gpiolib.c +++ b/drivers/gpio/gpiolib.c @@ -1704,8 +1704,7 @@ static void gpiochip_set_cascaded_irqchip(struct gpio_chip *gpiochip, * @parent_irq: the irq number corresponding to the parent IRQ for this * chained irqchip * @parent_handler: the parent interrupt handler for the accumulated IRQ - * coming out of the gpiochip. If the interrupt is nested rather than - * cascaded, pass NULL in this handler argument + * coming out of the gpiochip. */ void gpiochip_set_chained_irqchip(struct gpio_chip *gpiochip, struct irq_chip *irqchip,