From: Jarkko Nikula Date: Thu, 18 Dec 2014 13:04:23 +0000 (+0200) Subject: spi: pxa2xx: Cleanup register access macros X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~168^2~2^3~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c039dd275e88989478abe5f28e4e15648c28ce33;p=pandora-kernel.git spi: pxa2xx: Cleanup register access macros Currently SSP registers are accessed by having an own read and write macros for each register. For instance read_SSSR(iobase) and write_SSSR(iobase). In my opinion this hurts readability and requires new macros to be defined for each new added register. Let's define and use instead common pxa2xx_spi_read() and pxa2xx_spi_write() accessors. Signed-off-by: Jarkko Nikula Signed-off-by: Mark Brown --- Reading git-diff-tree failed