Re: [PATCH 2/9] staging: comedi: always set hw_dev during auto-config

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

 



On Mon, Oct 15, 2012 at 01:07:32PM +0100, Ian Abbott wrote:
> Auto-configuration (auto-attachment) of USB and PCI comedi devices all
> goes through `comedi_auto_config_helper()`.  That is a good place to set
> the comedi device's `hw_dev` pointer to the hardware `struct device` via
> a call to `comedi_set_hw_dev(comedi_device, hardware_device)` as it may
> obviate the need for the low-level comedi driver to make this call.

Ah, ok, now I see why you did the previous patch.

Nevermind...

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