Re: [PATCH] i2c-parport: start using pr_fmt

2015-06-17 Thread Sudip Mukherjee
On Wed, Jun 17, 2015 at 01:46:17PM +0200, Wolfram Sang wrote: > On Fri, Jun 12, 2015 at 12:47:14PM +0530, Sudip Mukherjee wrote: > > Start using pr_fmt and convert all remaining printk to use > > pr_* family of macros. > > I heard you introduced the driver model to parport. So, isn't there a > str

Re: [PATCH] i2c-parport: start using pr_fmt

2015-06-17 Thread Wolfram Sang
On Fri, Jun 12, 2015 at 12:47:14PM +0530, Sudip Mukherjee wrote: > Start using pr_fmt and convert all remaining printk to use > pr_* family of macros. I heard you introduced the driver model to parport. So, isn't there a struct device we could use for dev_err() and friends? Thanks, Wolfram

[PATCH] i2c-parport: start using pr_fmt

2015-06-12 Thread Sudip Mukherjee
Start using pr_fmt and convert all remaining printk to use pr_* family of macros. Signed-off-by: Sudip Mukherjee --- drivers/i2c/busses/i2c-parport.c | 21 +++-- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/drivers/i2c/busses/i2c-parport.c b/drivers/i2c/busses/