commit | cfbf7586bc07cd6d14cd93ca56d8a3f90e248625 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@gentoo.org> | Fri Jun 24 04:33:02 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Jun 27 20:42:24 2011 -0700 |
tree | 16418209e4bea1c9c54ada013867f46f3d6295e6 | |
parent | 9118f08a7794e9a4908afbb0f9bc9455325a5631 [diff] |
can: bfin_can: auto-calculate accessor sizes Since we have a struct that defines the sizes of the registers, we don't need to explicitly use the 16bit read/write helpers. Let the code figure out which size access to make based on the size of the C type. There should be no functional changes here. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Acked-by: Wolfgang Grandegger <wg@grandegger.com> Signed-off-by: David S. Miller <davem@davemloft.net>