Thread (65 messages) 65 messages, 6 authors, 2025-03-28

Re: [PATCH 03/34] firmware: exynos-acpm: export devm_acpm_get_by_phandle()

From: André Draszik <andre.draszik@linaro.org>
Date: 2025-03-26 09:19:56
Also in: linux-clk, linux-devicetree, linux-rtc, linux-samsung-soc, lkml

On Wed, 2025-03-26 at 08:03 +0100, Krzysztof Kozlowski wrote:
On 23/03/2025 23:39, André Draszik wrote:
quoted
The upcoming Samsung S2MPG10 PMIC driver will need this symbol to
communicate with the IC.

Export it.

Signed-off-by: André Draszik <andre.draszik@linaro.org>
---
 drivers/firmware/samsung/exynos-acpm.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/drivers/firmware/samsung/exynos-acpm.c b/drivers/firmware/samsung/exynos-acpm.c
index a85b2dbdd9f0d7b1f327f54a0a283e4f32587a98..7525bee4c6715edb964fc770ac9d8b3dd2be2172 100644
--- a/drivers/firmware/samsung/exynos-acpm.c
+++ b/drivers/firmware/samsung/exynos-acpm.c
@@ -741,6 +741,7 @@ const struct acpm_handle *devm_acpm_get_by_phandle(struct device *dev,
 
 	return handle;
 }
+EXPORT_SYMBOL_GPL(devm_acpm_get_by_phandle);
If binding changes to parent-child relationship, this might not be needed.
Indeed, I've instead added devm_acpm_get_by_node(), and clients are meant to
pass the parent node pointer into it.

Cheers,
Andre'

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help