spi: orion: cosmetics - alias long direct_access variables
authorKosta Zertsekel <zertsekel@gmail.com>
Wed, 15 Aug 2018 19:04:49 +0000 (22:04 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 3 Sep 2018 14:14:18 +0000 (15:14 +0100)
commitc7ba473628586a138c35e00cff303c3eb47c9cbf
tree7a43d567a9933e23b680705db52985afc4b6b632
parentc1d8b0825d50e1eb6b6ea2cb9e450637dba9b4e2
spi: orion: cosmetics - alias long direct_access variables

This change increases the source code readability.
Instead of using `spi->child[cs].direct_access.XXX` use `dir_acc->XXX`.
Instead of using `orion_spi->child[cs].direct_access.vaddr` use `vaddr`.

Signed-off-by: Kosta Zertsekel <zertsekel@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Jan Kundrát <jan.kundrat@cesnet.cz>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-orion.c