Thread (33 messages) 33 messages, 3 authors, 2022-03-22

Re: [PATCH 2/6] i2c: fwnode: add fwnode_find_i2c_adapter_by_node()

From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date: 2022-03-18 16:40:23
Also in: linux-acpi, linux-i2c, lkml

On Fri, Mar 18, 2022 at 05:00:48PM +0100, Clément Léger wrote:
Add fwnode_find_i2c_adapter_by_node() which allows to retrieve a i2c
adapter using a fwnode. Since dev_fwnode() uses the fwnode provided by
the of_node member of the device, this will also work for devices were
the of_node has been set and not the fwnode field.
+	/* For ACPI device node, we do not want to match the parent */
Why?
Neither commit message nor this comment does not answer to this question.

-- 
With Best Regards,
Andy Shevchenko

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help