Thread (55 messages) 55 messages, 8 authors, 2025-05-29

Re: [PATCH v2 06/26] driver core: fw_devlink: Introduce fw_devlink_set_device()

From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date: 2025-05-07 15:02:54
Also in: imx, linux-acpi, linux-clk, linux-devicetree, linux-i2c, linux-pci, linux-spi, lkml

On Wed, May 07, 2025 at 09:12:48AM +0200, Herve Codina wrote:
Setting fwnode->dev is specific to fw_devlink.

In order to avoid having a direct 'fwnode->dev = dev;' in several
place in the kernel, introduce fw_devlink_set_device() helper to perform
this operation.
Makes sense, can you also mark that field as __private? So sparse can catch
the abusers up.

-- 
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