mirror of
https://github.com/torvalds/linux.git
synced 2026-06-04 20:46:48 +02:00
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>
This commit is contained in:
parent
b7a013c125
commit
0886fb23a8
|
|
@ -927,7 +927,7 @@ static int fsl_mx6_enable(struct platform_device *pdev)
|
|||
|
||||
ret = clk_prepare_enable(dev->clk);
|
||||
if (ret) {
|
||||
dev_err(&pdev->dev, "%s\n", "clk_prepare_enable failed");
|
||||
dev_err(&pdev->dev, "clk_prepare_enable failed\n");
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
@ -975,7 +975,7 @@ static int rcar_gen2_enable(struct platform_device *pdev)
|
|||
|
||||
ret = clk_prepare_enable(dev->clk);
|
||||
if (ret) {
|
||||
dev_err(&pdev->dev, "%s\n", "clk_prepare_enable failed");
|
||||
dev_err(&pdev->dev, "clk_prepare_enable failed\n");
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
@ -1020,7 +1020,7 @@ static int rcar_gen3_enable(struct platform_device *pdev)
|
|||
|
||||
ret = clk_prepare_enable(dev->clk);
|
||||
if (ret) {
|
||||
dev_err(&pdev->dev, "%s\n", "clk_prepare_enable failed");
|
||||
dev_err(&pdev->dev, "clk_prepare_enable failed\n");
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user