]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
staging: most: dim2: remove unnecessary string indirection in dev_err
authorArtem Lytkin <iprintercanon@gmail.com>
Tue, 24 Feb 2026 18:07:50 +0000 (21:07 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Feb 2026 15:03:40 +0000 (07:03 -0800)
commit0886fb23a876aa31273281f53e6d6852bf4c2820
tree70ed5b471f00d98631b4701c5544d042e6ac3b8b
parentb7a013c12504ba6468e098fab5b91011079daf57
staging: most: dim2: remove unnecessary string indirection in dev_err

Replace dev_err(&pdev->dev, "%s\n", "clk_prepare_enable failed") with
the direct format string dev_err(&pdev->dev, "clk_prepare_enable
failed\n"). The extra level of indirection through %s is unnecessary.

Signed-off-by: Artem Lytkin <iprintercanon@gmail.com>
Link: https://patch.msgid.link/20260224180750.28468-4-iprintercanon@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/dim2/dim2.c