spmi: rename spmi device lookup helper
authorJohan Hovold <johan+linaro@kernel.org>
Tue, 3 Oct 2023 15:29:27 +0000 (17:29 +0200)
committerLee Jones <lee@kernel.org>
Wed, 1 Nov 2023 10:02:18 +0000 (10:02 +0000)
commit272f99edab36974b58347e97ee105885e385fa88
treedcda53ea1a638d3046f03019afccb0f22b1e4e59
parentade7941a478e797f781040f96ae530a0abf7cbfe
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: Johan Hovold <johan+linaro@kernel.org>
Acked-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lore.kernel.org/r/20231003152927.15000-6-johan+linaro@kernel.org
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/qcom-spmi-pmic.c
drivers/spmi/spmi.c
include/linux/spmi.h