spi: tegra114: use u32 for 32-bit register values
authorMichal Nazarewicz <mina86@mina86.com>
Sun, 8 Dec 2013 15:35:09 +0000 (16:35 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 9 Dec 2013 18:12:54 +0000 (18:12 +0000)
commit48c3fc93803a27bb9d2c79d718cf142974f080c8
tree2dc231b0ad36511d418efb0f7b053a7e6b441936
parent6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae
spi: tegra114: use u32 for 32-bit register values

Previously used “unsigned long” may lead to confusion should the code
be compiled for 64-bit machine.

This commit also removes some unused fields of the tegra_spi_data
structure as well as removes duplicated #defines.

Signed-off-by: Michal Nazarewicz <mina86@mina86.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-tegra114.c