Home
last modified time | relevance | path

Searched hist:ade7941a478e797f781040f96ae530a0abf7cbfe (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/spmi/
H A Dspmi.cdiff ade7941a478e797f781040f96ae530a0abf7cbfe Tue Oct 03 17:29:26 CEST 2023 Johan Hovold <johan+linaro@kernel.org> spmi: document spmi_device_from_of() refcounting

Add a comment documenting that the spmi_device_from_of() takes a
reference to the embedded struct device that needs to be dropped after
use.

Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Acked-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lore.kernel.org/r/20231003152927.15000-5-johan+linaro@kernel.org
Signed-off-by: Lee Jones <lee@kernel.org>