staging: spi: mt7621: Use macros instead of hardcoded values
authorStefan Roese <sr@denx.de>
Fri, 1 Feb 2019 10:17:14 +0000 (11:17 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Feb 2019 11:34:37 +0000 (12:34 +0100)
commit5220dd4f9428e9ed565c80db4bcc47898ad89d22
treedcbdb36c156bdeeeda0e9a85a2e018ec3bdebced
parent376a62202152ac878c7d839657ddc6f3369caaf7
staging: spi: mt7621: Use macros instead of hardcoded values

This patch uses macros instead of hardcoded values for the SPI_MASTER
register access in mt7621_spi_reset() and mt7621_spi_prepare().

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Mark Brown <broonie@kernel.org>
Cc: Sankalp Negi <sankalpnegi2310@gmail.com>
Cc: Chuanhong Guo <gch981213@gmail.com>
Cc: John Crispin <john@phrozen.org>
Reviewed-by: NeilBrown <neil@brown.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-spi/spi-mt7621.c