summaryrefslogtreecommitdiff
path: root/mm/truncate.c
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2015-11-18 10:07:29 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-12-21 15:57:40 -0800
commitbcae0adaf4f2fd9105ca11ca9df10a5f3881ea26 (patch)
tree682480a77bdf03481007d5272cf2bb72ad3824c6 /mm/truncate.c
parentd0b5860c273ae04ac1b747572aca04354f6515e1 (diff)
downloadlinux-bcae0adaf4f2fd9105ca11ca9df10a5f3881ea26.tar.gz
linux-bcae0adaf4f2fd9105ca11ca9df10a5f3881ea26.tar.bz2
linux-bcae0adaf4f2fd9105ca11ca9df10a5f3881ea26.zip
staging: comedi: adv_pci_dio: remove boardinfo 'cardtype'
This member of the boardinfo is identical to the offset of the boardinfo in the boardtypes array. It's also passed as the 'context' to the driver (*auto_attach). The 'cardtype' is only needed by the (*auto_attach) to determine which PCI BAR to use and in pci_dio_reset() to handle the board specific code. Remove the 'cardtype' member and use the 'context' value instead. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/truncate.c')
0 files changed, 0 insertions, 0 deletions