]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
staging: most: dim2: convert pr_err/warn to dev_err/warn
authorZeeshan Ahmad <zeeshanahmad022019@gmail.com>
Tue, 10 Feb 2026 06:51:21 +0000 (11:51 +0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Feb 2026 14:01:04 +0000 (15:01 +0100)
commit4f083b987ef1993ab4ac7d0bd4e28eb9037f543b
tree7ef59e38886f695d20b684ffae7f5b81b74e9527
parentb708971b2919ed9df158284a3f7dc7f284ba344f
staging: most: dim2: convert pr_err/warn to dev_err/warn

The dim2 driver currently uses generic pr_* logging macros for
reporting hardware errors. Modern hardware drivers should use the
device-specific dev_* logging macros.

This provides better context in the system logs by identifying the
specific hardware instance associated with the error or warning,
which is especially helpful in systems with multiple controllers.

Signed-off-by: Zeeshan Ahmad <zeeshanahmad022019@gmail.com>
Link: https://patch.msgid.link/20260210065121.3661-3-zeeshanahmad022019@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/dim2/dim2.c