]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: codec: wm8400: replace printk() calls with dev_*() device aware logging
authorHariKrishna Sagala <hariconscious@gmail.com>
Sat, 25 Oct 2025 04:30:11 +0000 (10:00 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 30 Oct 2025 12:35:05 +0000 (12:35 +0000)
commit6ef8e042cdcaabe3e3c68592ba8bfbaee2fa10a3
treef19dc4a1c3f2e24dc5ebd53977d51f98357ac72d
parentef37146360385282b5f6a5b4bf695db30d609887
ASoC: codec: wm8400: replace printk() calls with dev_*() device aware logging

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@gmail.com>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20251025043011.598300-1-hariconscious@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm8400.c