From: H Hartley Sweeten Date: Thu, 5 Dec 2013 23:54:10 +0000 (-0700) Subject: staging: comedi: pcmuio: add inline helpers to get the 'iobase', 'asic', and 'port' X-Git-Tag: v3.14-rc1~150^2~510 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4344158f3ea32eefd4942915c76d35afdc11b76e;p=pandora-kernel.git staging: comedi: pcmuio: add inline helpers to get the 'iobase', 'asic', and 'port' To reduce the potential for bugs, and better document the code, introduce some inline helper functions to consolidate the calculations needed to get the 'iobase' for a given asic and the 'asic' and 'port' associated with a given subdevice. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed