Skip to content

Commit

Permalink
staging:iio:imu: adis16400: Avoid using printk facility
Browse files Browse the repository at this point in the history
use dev_info() instead.

Signed-off-by: Michael Hennerich <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
mhennerich authored and gregkh committed Sep 6, 2011
1 parent 521de51 commit 69d80ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/iio/imu/adis16400_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 69d80ba

Please sign in to comment.