On Tue, Nov 10, 2026 at 09:51:20AM +0100, Johan Hovold wrote: > device_remove_software_node() should only be used to remove secondary > firmware nodes added by device_add_software_node() but will currently > drop a reference also if a device has a primary software node. > > Bail out early if device_remove_software_node() is called for a device > whose primary firmware node is a software node and fix up the two > callers that currently work around this themselves. > > Signed-off-by: Johan Hovold Reviewed-by: Wolfram Sang # I2C part