Re: [RFC 03/10] base: swnode: use fwnode_get_match_data()
From: Andy Shevchenko
Date: Mon Feb 21 2022 - 12:55:35 EST
On Mon, Feb 21, 2022 at 05:26:45PM +0100, Clément Léger wrote:
> In order to allow matching devices with software node with
> device_get_match_data(), use fwnode_get_match_data() for
> .device_get_match_data operation.
...
> + .device_get_match_data = fwnode_get_match_data,
Huh? It should be other way around, no?
I mean that each of the resource providers may (or may not) provide a method
for the specific fwnode abstraction.
--
With Best Regards,
Andy Shevchenko