Skip to content
Commit 272f99ed authored by Johan Hovold's avatar Johan Hovold Committed by Lee Jones
Browse files

spmi: rename spmi device lookup helper



Rename the SPMI device helper which is used to lookup a device from its
OF node as spmi_find_device_by_of_node() so that it reflects the
implementation and matches how other helpers like this are named.

This will specifically make it more clear that this is a lookup function
which returns a reference counted structure.

Signed-off-by: default avatarJohan Hovold <johan+linaro@kernel.org>
Acked-by: default avatarStephen Boyd <sboyd@kernel.org>
Link: https://lore.kernel.org/r/20231003152927.15000-6-johan+linaro@kernel.org


Signed-off-by: default avatarLee Jones <lee@kernel.org>
parent ade7941a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment