Commit b4a051d8 authored by Ebru Akagunduz's avatar Ebru Akagunduz Committed by Greg Kroah-Hartman

Staging: iio: printk(KERN_INFO ...

Fix checkpatch.pl issues with prefer netdev_info(netdev, .. then dev_info(dev, ..
then pr_info(...  to printk(KERN_INFO .. in lis3l02dq_ring.c
Signed-off-by: default avatarEbru Akagunduz <ebru.akagunduz@gmail.com>
Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ffb283e1
...@@ -260,8 +260,7 @@ static int lis3l02dq_trig_try_reen(struct iio_trigger *trig) ...@@ -260,8 +260,7 @@ static int lis3l02dq_trig_try_reen(struct iio_trigger *trig)
else else
break; break;
if (i == 5) if (i == 5)
printk(KERN_INFO pr_info("Failed to clear the interrupt for lis3l02dq\n");
"Failed to clear the interrupt for lis3l02dq\n");
/* irq reenabled so success! */ /* irq reenabled so success! */
return 0; return 0;
......
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