usb test & measurement driver cleanup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 19, 2008 at 01:47:37PM +0300, Felipe Balbi wrote:
> Hi,
> 
> On Thu, Jun 19, 2008 at 1:42 PM, Greg KH <gregkh at suse.de> wrote:
> > On Thu, Jun 19, 2008 at 01:19:08PM +0300, Felipe Balbi wrote:
> >> -#ifdef USBTMC_DEBUG
> >> -     printk(KERN_NOTICE "USBTMC: usbtmc_open called\n");
> >> -#endif
> >
> > Hm, you just removed most of these debug calls.  Why not use the proper
> > dev_dbg() call instead?  That way they can remain and get enabled if the
> > config option is enabled that turns on debugging for the usb drivers?
> 
> Can be, but most of them were a bit useless. Seemed better to me remove
> them and add proper messages later.
> 
> I'll revert them and move to dev_dbg() calls.

Thanks, it's a bit nicer to at least start out this way, if they really
are just stupid messages, we can delete them later.

thanks,

greg k-h


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux