summaryrefslogtreecommitdiff
path: root/drivers/iio/health
diff options
context:
space:
mode:
authorPeter Meerwald-Stadler <pmeerw@pmeerw.net>2017-10-27 22:45:32 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-12-02 13:40:31 +0300
commitdd86dbf94f93add95e153084e54b94deff7264b7 (patch)
treedbfc44736d6f149a8946532f158b980ccade5ca8 /drivers/iio/health
parent3fb2e24ed7b713bd6c1a03ab9f9849f76629f26f (diff)
downloadlinux-dd86dbf94f93add95e153084e54b94deff7264b7.tar.xz
iio: health: max30102: Fix missing newline in dev_err
Signed-off-by: Peter Meerwald-Stadler <pmeerw@pmeerw.net> Acked-by: Matt Ranostay <matt.ranostay@konsulko.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/health')
-rw-r--r--drivers/iio/health/max30102.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/health/max30102.c b/drivers/iio/health/max30102.c
index 203ffb9cad6a..7dd9cd764af8 100644
--- a/drivers/iio/health/max30102.c
+++ b/drivers/iio/health/max30102.c
@@ -261,7 +261,7 @@ static int max30102_led_init(struct max30102_data *data)
ret = max30102_get_current_idx(val, &reg);
if (ret) {
- dev_err(dev, "invalid IR LED current setting %d", val);
+ dev_err(dev, "invalid IR LED current setting %d\n", val);
return ret;
}