summaryrefslogtreecommitdiffstats
path: root/drivers/staging/ccg
diff options
context:
space:
mode:
authorIan Abbott <abbotti@mev.co.uk>2012-10-15 13:07:32 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-22 12:43:37 -0700
commit26cbd46529c07b50e92861f06497a5f327c48e69 (patch)
tree113df4d99d227165ba445718196f956c049b5e3b /drivers/staging/ccg
parent0a7717dfe097d7a0a08e824ed39547c3e6e9d7e8 (diff)
downloadlinux-26cbd46529c07b50e92861f06497a5f327c48e69.tar.bz2
staging: comedi: always set hw_dev during auto-config
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. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ccg')
0 files changed, 0 insertions, 0 deletions