Skip to content

Commit

Permalink
spi/bfin_spi: use structs for accessing hardware regs
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mike Frysinger authored and Grant Likely committed Jun 17, 2011
1 parent f8db4cc commit 47885ce
Showing 1 changed file with 84 additions and 124 deletions.
Loading

0 comments on commit 47885ce

Please sign in to comment.