From: H Hartley Sweeten Date: Thu, 19 Jun 2014 17:20:35 +0000 (-0700) Subject: staging: comedi: ni_mio_common.c: wrap the read/write operations X-Git-Tag: omap-for-v3.17/fixes-against-rc2~166^2~1918 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a92cac5dc3b48a4ae176045e1f13ecde5a7b586;p=pandora-kernel.git staging: comedi: ni_mio_common.c: wrap the read/write operations The ni_atmio, ni_pcimio, and ni_mio_cs drivers all include this source file to handle the common functionality of the drivers. Each of those drivers set some function pointers in the private data to handle the read/write operations to the normal registers. Like done for the stc register operations, wrap these operations with some helper functions to clarify the code a bit and make it easier to read and maintain. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed