[PATCH v8 01/10] spmi: Remove redundant dev_name() print in spmi_device_add()
Stephen Boyd
sboyd at kernel.org
Thu Jan 15 18:03:15 PST 2026
Quoting AngeloGioacchino Del Regno (2026-01-14 03:27:33)
> Function spmi_device_add() uses dev_{dbg,err}() for respectively
> debug and error prints, and passes the same device pointer as both
> the dev_{dbg,err}() parameters and to a dev_name() that is part of
> the actual message.
> This means that the device name gets printed twice!
>
> Remove the redundant dev_name() from the messages.
>
> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
> ---
Acked-by: Stephen Boyd <sboyd at kernel.org>
More information about the linux-phy
mailing list