[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdbg14fdyQmdapeAFgWmSDJ5zSWWkvSjKiLJfxKUfF6_Mg@mail.gmail.com>
Date: Fri, 13 May 2022 22:53:09 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: Marc Zyngier <maz@...nel.org>, Hans de Goede <hdegoede@...hat.com>,
linux-gpio@...r.kernel.org, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org, Bartosz Golaszewski <brgl@...ev.pl>,
Jonathan Corbet <corbet@....net>,
Mika Westerberg <mika.westerberg@...ux.intel.com>,
Andy Shevchenko <andy@...nel.org>
Subject: Re: [PATCH v1 2/5] Documentation: gpio: Advertise irqd_to_hwirq()
helper in the examples
On Thu, May 12, 2022 at 7:41 PM Andy Shevchenko
<andriy.shevchenko@...ux.intel.com> wrote:
> Instead of direct dereferencing the IRQ data in order to get HW IRQ number
> use the irqd_to_hwirq() helper.
>
> Fixes: 5644b66a9c63 ("Documentation: Update the recommended pattern for GPIO irqchips")
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Good idea.
Reviewed-by: Linus Walleij <linus.walleij@...aro.org>
Yours,
Linus Walleij
Powered by blists - more mailing lists