From: Ian Abbott Date: Mon, 1 Sep 2014 11:03:41 +0000 (+0100) Subject: staging: comedi: amplc_pci230: no need to comedi_set_hw_dev() here X-Git-Tag: fixes-for-v3.18-merge-window~15^2~825 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77ffced7af82c13243a642e731b52fc1714fd48a;p=pandora-kernel.git staging: comedi: amplc_pci230: no need to comedi_set_hw_dev() here The comedi core module calls `comedi_set_hw_dev()` to associate the hardware `struct device` with the `struct comedi_device` before it calls the comedi driver's "auto_attach" hook `pci230_auto_attach()`. There is no need for `pci230_auto_attach()` to call `comedi_set_hw_dev()` itself, so remove the call. Signed-off-by: Ian Abbott Reviewed-by: H Hartley Sweeten Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed