diff options
author | Jarkko Nikula <jarkko.nikula@linux.intel.com> | 2014-12-18 15:04:23 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-12-22 20:17:23 +0000 |
commit | c039dd275e88989478abe5f28e4e15648c28ce33 (patch) | |
tree | d56b3d234011a8726b26e1678a1d786798bb93a8 /lib/mpi/mpi-cmp.c | |
parent | 8e8dd9fb25f6dab6ac3f19f445a51b2c71e08d5c (diff) |
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 <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions