Commit 69d80bae authored by Michael Hennerich's avatar Michael Hennerich Committed by Greg Kroah-Hartman

staging:iio:imu: adis16400: Avoid using printk facility

use dev_info() instead.
Signed-off-by: default avatarMichael Hennerich <michael.hennerich@analog.com>
Signed-off-by: default avatarJonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 521de518
......@@ -393,7 +393,7 @@ static int adis16400_initial_setup(struct iio_dev *indio_dev)
if ((prod_id & 0xF000) != st->variant->product_id)
dev_warn(&indio_dev->dev, "incorrect id");
printk(KERN_INFO "%s: prod_id 0x%04x at CS%d (irq %d)\n",
dev_info(&indio_dev->dev, "%s: prod_id 0x%04x at CS%d (irq %d)\n",
indio_dev->name, prod_id,
st->us->chip_select, st->us->irq);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment