Skip to content

Commit

Permalink
Staging: iio: printk(KERN_INFO ...
Browse files Browse the repository at this point in the history
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: Ebru Akagunduz <ebru.akagunduz@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Ebru Akagunduz authored and Greg Kroah-Hartman committed Oct 7, 2013
1 parent ffb283e commit b4a051d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/staging/iio/accel/lis3l02dq_ring.c
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,7 @@ static int lis3l02dq_trig_try_reen(struct iio_trigger *trig)
else
break;
if (i == 5)
printk(KERN_INFO
"Failed to clear the interrupt for lis3l02dq\n");
pr_info("Failed to clear the interrupt for lis3l02dq\n");

/* irq reenabled so success! */
return 0;
Expand Down

0 comments on commit b4a051d

Please sign in to comment.