[media] saa7134-i2c: make debug macros to use pr_fmt()
commit30693f346e4f5c0720de66c424b38053f9e34a08
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 30 Apr 2015 11:21:14 +0000 (30 08:21 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 13 May 2015 13:09:12 +0000 (13 10:09 -0300)
tree2e57d7e8e9a6e4cff72998d4c5036d104f24ea55
parentc6c62cce324c96a74a84c419ff8f2f847fd4a918
[media] saa7134-i2c: make debug macros to use pr_fmt()

Converting debug prints to use pr_foo() is not trivial, as the
result will be a way worse than what's provided here, due to the
pieces of the code that prints the I2C transfers. Those use a
lot pr_cont(), and, depending on using either level 1 or 2,
a different set of macros are selected.

So, let's replace d1printk() and d2printk() macros by i2c_dbg()
and i2c_count() adding a debug level there.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/pci/saa7134/saa7134-i2c.c