[PATCH v2] iio: adc: stm32-adc: Use dev_fwnode()

Jonathan Cameron jic23 at kernel.org
Sat Jun 14 04:08:27 PDT 2025


On Fri, 13 Jun 2025 12:00:10 -0500
David Lechner <dlechner at baylibre.com> wrote:

> 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>
> 
> 
Applied. Thanks



More information about the linux-arm-kernel mailing list