staging: media: cxd2099: replace printk with dev_info
authorEva Rachel Retuya <eraretuya@gmail.com>
Tue, 20 Sep 2016 07:00:49 +0000 (15:00 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 Sep 2016 11:59:45 +0000 (13:59 +0200)
Use dev_info() instead of printk(). Majority of the conversion was done
previously on this commit:
011b2aa [media] staging/media: Use dev_ printks in cxd2099/cxd2099.[ch]

Signed-off-by: Eva Rachel Retuya <eraretuya@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/cxd2099/cxd2099.c

index 692ba3e63e141dba87e8c612bbdae8bcc1f6aecc..fedeb3c3549e3e812d3328e2e83b5522ee1fad2d 100644 (file)
@@ -660,7 +660,7 @@ static int write_data(struct dvb_ca_en50221 *ca, int slot, u8 *ebuf, int ecount)
        struct cxd *ci = ca->data;
 
        mutex_lock(&ci->lock);
-       printk(kern_INFO "write_data %d\n", ecount);
+       dev_info(&ci->i2c->dev, "write_data %d\n", ecount);
        write_reg(ci, 0x0d, ecount>>8);
        write_reg(ci, 0x0e, ecount&0xff);
        write_block(ci, 0x11, ebuf, ecount);