diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-04-30 08:21:14 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-05-13 10:09:12 -0300 |
commit | 30693f346e4f5c0720de66c424b38053f9e34a08 (patch) | |
tree | 2e57d7e8e9a6e4cff72998d4c5036d104f24ea55 /drivers/spi/spi-sun4i.c | |
parent | c6c62cce324c96a74a84c419ff8f2f847fd4a918 (diff) |
[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>
Diffstat (limited to 'drivers/spi/spi-sun4i.c')
0 files changed, 0 insertions, 0 deletions