From: Ian Abbott Date: Fri, 25 Jul 2014 09:04:51 +0000 (+0100) Subject: staging: comedi: amplc_pc236: no need to set hw_dev X-Git-Tag: cleanup-for-v3.18~125^2~203 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a06021433074f8b5d197b552c297efd8f2155d5a;p=pandora-kernel.git staging: comedi: amplc_pc236: no need to set hw_dev The call to `comedi_set_hw_dev()` from `pc236_pci_common_attach()` is now unnecessary since `pc236_pci_common_attach()` is now only called from this driver's `auto_attach` hook `pc236_auto_attach()` and the comedi core now calls `comedi_set_hw_dev()` before calling that. Remove the unnecessary call. Signed-off-by: Ian Abbott Reviewed-by: H Hartley Sweeten Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed