[PATCH v2] iio: adc: stm32-adc: Use dev_fwnode()
David Lechner
dlechner at baylibre.com
Fri Jun 13 10:00:10 PDT 2025
On 6/12/25 3:46 AM, Jiri Slaby (SUSE) wrote:
> irq_domain_create_simple() takes fwnode as the first argument. It can be
> extracted from the struct device using dev_fwnode() helper instead of
> using of_node with of_fwnode_handle().
>
> So use the dev_fwnode() helper.
>
> Signed-off-by: Jiri Slaby (SUSE) <jirislaby at kernel.org>
> Cc: Jonathan Cameron <jic23 at kernel.org>
> Cc: David Lechner <dlechner at baylibre.com>
> Cc: "Nuno Sá" <nuno.sa at analog.com>
> Cc: Andy Shevchenko <andy at kernel.org>
> Cc: Maxime Coquelin <mcoquelin.stm32 at gmail.com>
> Cc: Alexandre Torgue <alexandre.torgue at foss.st.com>
> Cc: linux-iio at vger.kernel.org
>
> ---
Reviewed-by: David Lechner <dlechner at baylibre.com>
More information about the linux-arm-kernel
mailing list