From: H Hartley Sweeten Date: Wed, 24 Jul 2013 19:11:47 +0000 (-0700) Subject: staging: comedi: ii_pci20kc.c: tidy up the subdevice module init X-Git-Tag: v3.12-rc1~183^2~553 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0e32df3d21f048ee35c07e523e918015845d95f;p=pandora-kernel.git staging: comedi: ii_pci20kc.c: tidy up the subdevice module init Use the carrier board id to determine if a module is installed for a given subdevice. Consolidate the module init code into ii20k_init_module(). For aesthetic reasons, rename the subdevice functions to remove 'pci' from them. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed