]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
staging: sm750fb: convert logging to device-based in sm750_hw.c
authorArtem Lytkin <iprintercanon@gmail.com>
Mon, 23 Feb 2026 20:40:36 +0000 (20:40 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Feb 2026 18:12:36 +0000 (10:12 -0800)
commite5448f8d2ec5b4452ba34d376970c05dca2f0a22
treeaa3edd2a88284ce1281e5593bd32be50a465ae2e
parentdb7fb3588ab49203bdc9d30bb4e7a8fbb7dc0fe0
staging: sm750fb: convert logging to device-based in sm750_hw.c

Replace pr_err() calls with dev_err() using &pdev->dev or
&sm750_dev->pdev->dev to provide proper device context in log
messages. This makes it easier to identify which device generated
the message when multiple framebuffer devices are present.

Signed-off-by: Artem Lytkin <iprintercanon@gmail.com>
Link: https://patch.msgid.link/20260223204036.1780-3-iprintercanon@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/sm750_hw.c