From: H Hartley Sweeten Date: Thu, 5 Dec 2013 23:54:06 +0000 (-0700) Subject: staging: comedi: pcmuio: remove 'asic' member from subdevice private data X-Git-Tag: v3.14-rc1~150^2~514 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d1ead4809161867651b6f19e2cd793d2408abfd;p=pandora-kernel.git staging: comedi: pcmuio: remove 'asic' member from subdevice private data The 'asic' associated with a subdevice can be easily calculated. The functions that use this member in the subdevice private data can only be called by the subdevices that support interrupts. Just calculate the 'asic' when needed and remove the member variable and sanity checks. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed