iio: imu: bno055: terminate dev_err() strings with a newline

Two dev_err() calls in bno055_ser_write_reg() and bno055_ser_read_reg()
are missing the trailing newline, so the kernel log buffer continues
the next message on the same line.

Add the missing \n.

Signed-off-by: Stepan Ionichev <sozdayvek@gmail.com>
Reviewed-by: Maxwell Doose <m32285159@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
Stepan Ionichev 2026-05-21 00:08:50 +05:00 committed by Jonathan Cameron
parent f9242e31d1
commit 94574dff23

View File

@ -288,7 +288,7 @@ static int bno055_ser_write_reg(void *context, const void *_data, size_t count)
struct bno055_ser_priv *priv = context;
if (count < 2) {
dev_err(&priv->serdev->dev, "Invalid write count %zu", count);
dev_err(&priv->serdev->dev, "Invalid write count %zu\n", count);
return -EINVAL;
}
@ -306,7 +306,7 @@ static int bno055_ser_read_reg(void *context,
struct bno055_ser_priv *priv = context;
if (val_size > 128) {
dev_err(&priv->serdev->dev, "Invalid read valsize %zu", val_size);
dev_err(&priv->serdev->dev, "Invalid read valsize %zu\n", val_size);
return -EINVAL;
}