summaryrefslogtreecommitdiff
path: root/kernel/sched
diff options
context:
space:
mode:
authorJarkko Nikula <jarkko.nikula@linux.intel.com>2014-12-18 15:04:23 +0200
committerMark Brown <broonie@kernel.org>2014-12-22 20:17:23 +0000
commitc039dd275e88989478abe5f28e4e15648c28ce33 (patch)
treed56b3d234011a8726b26e1678a1d786798bb93a8 /kernel/sched
parent8e8dd9fb25f6dab6ac3f19f445a51b2c71e08d5c (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 'kernel/sched')
0 files changed, 0 insertions, 0 deletions