From 4344158f3ea32eefd4942915c76d35afdc11b76e Mon Sep 17 00:00:00 2001 From: H Hartley Sweeten Date: Thu, 5 Dec 2013 16:54:10 -0700 Subject: [PATCH] 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-format-patch failed