Re: drivers/media/IR/imon.c: Use pr_err instead of err

2010-10-18 Thread Jarod Wilson
On Sun, Jun 20, 2010 at 07:20:46AM -, Joe Perches wrote: Use the standard error logging mechanisms. Add #define pr_fmt(fmt) KBUILD_MODNAME :%s fmt, __func__ Remove __func__ from err calls, add '\n', rename to pr_err Signed-off-by: Joe Perches j...@perches.com Since I haven't got around

[PATCH] drivers/media/IR/imon.c: Use pr_err instead of err

2010-06-20 Thread Joe Perches
Use the standard error logging mechanisms. Add #define pr_fmt(fmt) KBUILD_MODNAME :%s fmt, __func__ Remove __func__ from err calls, add '\n', rename to pr_err Signed-off-by: Joe Perches j...@perches.com --- drivers/media/IR/imon.c | 73 ++- 1 files

Re: [PATCH] drivers/media/IR/imon.c: Use pr_err instead of err

2010-06-20 Thread Jarod Wilson
On Jun 20, 2010, at 3:20 AM, Joe Perches j...@perches.com wrote: Use the standard error logging mechanisms. Add #define pr_fmt(fmt) KBUILD_MODNAME :%s fmt, __func__ Remove __func__ from err calls, add '\n', rename to pr_err Signed-off-by: Joe Perches j...@perches.com --- Eh. If we're going

Re: [PATCH] drivers/media/IR/imon.c: Use pr_err instead of err

2010-06-20 Thread Joe Perches
On Sun, 2010-06-20 at 11:58 -0400, Jarod Wilson wrote: On Jun 20, 2010, at 3:20 AM, Joe Perches j...@perches.com wrote: Use the standard error logging mechanisms. Add #define pr_fmt(fmt) KBUILD_MODNAME :%s fmt, __func__ Remove __func__ from err calls, add '\n', rename to pr_err Eh. If we're

Re: [PATCH] drivers/media/IR/imon.c: Use pr_err instead of err

2010-06-20 Thread Jarod Wilson
On Sun, Jun 20, 2010 at 12:53 PM, Joe Perches j...@perches.com wrote: On Sun, 2010-06-20 at 11:58 -0400, Jarod Wilson wrote: On Jun 20, 2010, at 3:20 AM, Joe Perches j...@perches.com wrote: Use the standard error logging mechanisms. Add #define pr_fmt(fmt) KBUILD_MODNAME :%s fmt, __func__