[PATCH v7 02/10] spmi: Remove redundant dev_name() print in spmi_device_add()

Andy Shevchenko andriy.shevchenko at intel.com
Wed Jan 14 00:46:24 PST 2026


On Wed, Jan 14, 2026 at 09:39:49AM +0100, AngeloGioacchino Del Regno wrote:
> 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.

This should be the first patch in the series, then in the second you will have
less churn.

-- 
With Best Regards,
Andy Shevchenko





More information about the linux-phy mailing list