From: H Hartley Sweeten Date: Fri, 17 Aug 2012 02:55:01 +0000 (-0700) Subject: staging: comedi: cb_pcimdda: use attach_pci callback X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~867 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22f2f541d06a874d8a5b228fca0186e333a1e351;p=pandora-kernel.git staging: comedi: cb_pcimdda: use attach_pci callback Convert this PCI driver to use the comedi PCI auto config attach mechanism by adding an 'attach_pci' callback function. This driver does use an external configuration option to determine the analog output range which is controlled by a jumper on the board. In order to remove the legacy 'attach' callback, an assumption is made that the jumper is in the factory setting position for +/-5V outputs. This does not effect the operation of the board just the range info that is returned to the user. A sysfs method will be investigated to allow the user to change the range. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed