Re: [PATCH 1/9] staging: comedi: avoid a put_device(), get_device() sequence

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

 



On Mon, Oct 15, 2012 at 01:07:31PM +0100, Ian Abbott wrote:
> In `comedi_set_hw_dev()`, if there is no change to `dev->hw_dev` (and it
> is not `NULL`), don't bother putting and getting the device.

Why would any code call comedi_set_hw_dev() in such a situation?

I'll take this patch, but is it really needed?

greg k-h
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[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