]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2f54c730bd1ec56d932ce6ecad95a8dd09a0b61a
treedcbdb36c156bdeeeda0e9a85a2e018ec3bdebced
parentb04518c82808f0702009ded38486ce1586553d74
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