diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-06-24 04:33:02 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-06-27 20:42:24 -0700 |
commit | cfbf7586bc07cd6d14cd93ca56d8a3f90e248625 (patch) | |
tree | 16418209e4bea1c9c54ada013867f46f3d6295e6 /drivers/net/3c505.h | |
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>
Diffstat (limited to 'drivers/net/3c505.h')
0 files changed, 0 insertions, 0 deletions