提交 69d80bae 编写于 作者: M Michael Hennerich 提交者: Greg Kroah-Hartman

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

use dev_info() instead.
Signed-off-by: NMichael Hennerich <michael.hennerich@analog.com>
Signed-off-by: NJonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册