spi: pxa2xx: Switch to use BIT() and GENMASK() in pxa2xx_ssp.h
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 26 Aug 2020 15:14:54 +0000 (18:14 +0300)
committerMark Brown <broonie@kernel.org>
Wed, 26 Aug 2020 19:15:34 +0000 (20:15 +0100)
commit410f4cf79f64b1831e207b89f3c7ab08e36aa646
tree5406032b7079cd6fc1b6185fcea66dbfcb14e4a5
parente7aaf8748897d88fd1d17bfa461df84cf233d5a9
spi: pxa2xx: Switch to use BIT() and GENMASK() in pxa2xx_ssp.h

Switch pxa2xx_ssp.h header to use BIT() and GENMASK().
It's better to read and understand. While here, correct ordering
of some definitions.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20200826151455.55970-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/linux/pxa2xx_ssp.h