media: i2c: imx290: Add missing \n on dev_err_probe() message
authorAlexander Stein <alexander.stein@ew.tq-group.com>
Thu, 6 Apr 2023 09:55:51 +0000 (11:55 +0200)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Tue, 11 Apr 2023 16:54:02 +0000 (18:54 +0200)
Also dev_err_probe message require a trailing \n.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/i2c/imx290.c

index 94bba482af38d80ede01bb3215c82cb95548108e..5ea25b7acc55f04e6069a0767569882ceaf96fb0 100644 (file)
@@ -1602,7 +1602,7 @@ static int imx290_probe(struct i2c_client *client)
        imx290->xclk = devm_clk_get(dev, "xclk");
        if (IS_ERR(imx290->xclk))
                return dev_err_probe(dev, PTR_ERR(imx290->xclk),
-                                    "Could not get xclk");
+                                    "Could not get xclk\n");
 
        ret = imx290_get_regulators(dev, imx290);
        if (ret < 0)