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

use dev_info() instead.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Michael Hennerich 2011-09-02 17:25:34 +01:00 committed by Greg Kroah-Hartman
parent 521de51871
commit 69d80bae9b

View File

@ -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);
}