[PATCH] spmi: hisi-spmi-controller: Drop duplicated OF node assignment in spmi_controller_probe()

Stephen Boyd sboyd at kernel.org
Thu Jan 16 14:48:56 PST 2025


Quoting Joe Hattori (2025-01-15 20:49:07)
> spmi_controller_probe() assigns a parent device and an OF node to an
> SPMI controller. However, the operations are not needed as they are
> already assigned in spmi_controller_alloc(). Thus, remove the duplicated
> assignments. An unnecessary OF node reference acquisition is also
> dropped by this patch.
> 
> Signed-off-by: Joe Hattori <joe at pf.is.s.u-tokyo.ac.jp>
> Suggested-by: Stephen Boyd <sboyd at kernel.org>
> ---

Applied to spmi-next



More information about the Linux-mediatek mailing list