iio: imu: adis: Add a missing '\n' in a log message
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Fri, 10 Apr 2020 17:12:24 +0000 (19:12 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 19 Apr 2020 15:56:34 +0000 (16:56 +0100)
Message logged by 'dev_xxx()' or 'pr_xxx()' should end with a '\n'.

Fixes: 1fd456702692 ("iio: imu: adis: add support product ID check in adis_initial_startup")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/adis.c

index a8afd01..2e7d0d3 100644 (file)
@@ -419,7 +419,7 @@ int __adis_initial_startup(struct adis *adis)
 
        if (prod_id != adis->data->prod_id)
                dev_warn(&adis->spi->dev,
-                        "Device ID(%u) and product ID(%u) do not match.",
+                        "Device ID(%u) and product ID(%u) do not match.\n",
                         adis->data->prod_id, prod_id);
 
        return 0;