Messages in this thread | | | Date | Thu, 28 Apr 2011 12:47:25 -0700 | From | Greg KH <> | Subject | Re: [PATCH] Staging: Westbridge: replace custom debug macros with pr_...() macros |
| |
On Thu, Apr 28, 2011 at 11:48:41AM -0700, Sutharsan wrote: > >From Sutharsan Ramamoorthy <srmt@cypress.com> > > This patch replaces custom debug macros with Linux kernel's pr_...() macros.
Why not use the dev_dbg() and other macros instead of these? You do have access to a struct device for all of these places in the code, right?
thanks,
greg k-h
| |