]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
spi/bfin_spi: use structs for accessing hardware regs
authorMike Frysinger <vapier@gentoo.org>
Fri, 17 Jun 2011 08:16:56 +0000 (04:16 -0400)
committerGrant Likely <grant.likely@secretlab.ca>
Fri, 17 Jun 2011 14:35:55 +0000 (08:35 -0600)
commit47885ce81c7498c015e6763303821ab6e8a6e2cc
tree742eedea98667d5f266661cce0ca095656e6b8f5
parentf8db4cc4f2b11bdded6c94f0d55906847474b982
spi/bfin_spi: use structs for accessing hardware regs

Rather than hardcoding the register sizes/offsets in this file, use the
existing struct in the spi header for reading/writing the hardware.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spi-bfin5xx.c