Re: [PATCH v2] spi: cs42l43: Clean up of firmware node

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 1, 2024 at 7:26 PM Charles Keepax
<ckeepax@xxxxxxxxxxxxxxxxxxxxx> wrote:
>
> As we get a child node in the OF case, we should also clean up the
> reference, add code to do so.

...

> +       if (is_of_node(fwnode)) {
> +               fwnode = fwnode_get_named_child_node(fwnode, "spi");

> +               devm_add_action(priv->dev, cs42l43_release_of_node, fwnode);

ret = ...
if (ret)
  return ret;

> +       }

With that being addressed,
Reviewed-by: Andy Shevchenko <andy.shevchenko@xxxxxxxxx>

-- 
With Best Regards,
Andy Shevchenko





[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux