From: Juergen Beisert Date: Mon, 23 Sep 2013 14:36:00 +0000 (+0100) Subject: Staging/iio/adc/touchscreen/MXS: simplify register access X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~62^2~453^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0b83cc84678dadfd62e9cb6ed504dd126bfdc31;p=pandora-kernel.git Staging/iio/adc/touchscreen/MXS: simplify register access Replace the individual register access by a few shared access function to make the code easier to read and in order to add the i.MX23 SoC in the next step. Signed-off-by: Juergen Beisert Tested-by: Marek Vasut Acked-by: Marek Vasut Tested-by: Lothar Waßmann Signed-off-by: Jonathan Cameron CC: linux-arm-kernel@lists.infradead.org CC: linux-input@vger.kernel.org CC: devel@driverdev.osuosl.org CC: Marek Vasut CC: Fabio Estevam --- Reading git-diff-tree failed