]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
Staging: iio: printk(KERN_INFO ...
authorEbru Akagunduz <ebru.akagunduz@gmail.com>
Sun, 6 Oct 2013 12:15:38 +0000 (15:15 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Oct 2013 05:18:54 +0000 (22:18 -0700)
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>
drivers/staging/iio/accel/lis3l02dq_ring.c

index c1532b0523a3aa37afc6f3b313976e526b157f29..ed7de471e3f34db58480d7bb44277e27e22d74a5 100644 (file)
@@ -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;