spi: octeon: Put register offsets into a struct
authorJan Glauber <jglauber@cavium.com>
Sat, 23 Jul 2016 10:42:52 +0000 (12:42 +0200)
committerMark Brown <broonie@kernel.org>
Sun, 24 Jul 2016 20:54:29 +0000 (21:54 +0100)
commitee423c5322aece231415c316da5478e9d5241b4c
treec477a1b440278d06907d3d96251b913b1bf65d8e
parentb9e64763b68dbbf87a54b28edf89cd92c8ef51dd
spi: octeon: Put register offsets into a struct

Instead of hard-coding the register offsets put them into a struct
and set them in the probe function.

Signed-off-by: Jan Glauber <jglauber@cavium.com>
Tested-by: Steven J. Hill <steven.hill@cavium.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-octeon.c