Re: [PATCH v14 01/10] spmi: add a helper to look up an SPMI device from a device node

From: Stephen Boyd
Date: Tue Jun 14 2022 - 04:41:20 EST


Quoting Caleb Connolly (2022-04-29 15:08:56)
> The helper function spmi_device_from_of() takes a device node and
> returns the SPMI device associated with it.
> This is like of_find_device_by_node but for SPMI devices.
>
> Signed-off-by: Caleb Connolly <caleb.connolly@xxxxxxxxxx>
> ---

Acked-by: Stephen Boyd <sboyd@xxxxxxxxxx>