Re: [PATCH] ASoC: codec: wm8400: replace printk() calls with dev_*() device aware logging
From: Charles Keepax
Date: Thu Oct 30 2025 - 07:07:27 EST
On Sat, Oct 25, 2025 at 10:00:11AM +0530, hariconscious@xxxxxxxxx wrote:
> From: HariKrishna Sagala <hariconscious@xxxxxxxxx>
>
> Replace direct printk() calls with the appropriate dev_*() logging
> APIs.Use dev_err, dev_warn, dev_info, or dev_dbg to reflect the correct
> severity level. Pass the canonical struct device pointer so logs
> include device context and become traceable to specific hardware
> instances.Improve log clarity, make messages filterable by device
> and align the driver with kernel logging conventions to aid
> debugging and maintenance.
>
> Signed-off-by: HariKrishna Sagala <hariconscious@xxxxxxxxx>
> ---
Reviewed-by: Charles Keepax <ckeepax@xxxxxxxxxxxxxxxxxxxxx>
Thanks,
Charles