From: Mauro Carvalho Chehab Date: Thu, 30 Apr 2015 11:21:14 +0000 (-0300) Subject: [media] saa7134-i2c: make debug macros to use pr_fmt() X-Git-Tag: omap-for-v4.2/fixes-rc1^2~111^2~361 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30693f346e4f5c0720de66c424b38053f9e34a08;p=pandora-kernel.git [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 --- Reading git-diff-tree failed