can: c_can: Add and make use of 32-bit accesses functions
authorPavel Machek <pavel@denx.de>
Tue, 6 May 2014 13:57:02 +0000 (15:57 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 19 May 2014 07:38:22 +0000 (09:38 +0200)
commitccbc5357db3098c57176945f677b0af37f5e87e6
tree9200ce6c25f8bb2ec94c42fe8d0b2260105f9913
parente07e83ae600ea51b857e02132220eb7b7e52e928
can: c_can: Add and make use of 32-bit accesses functions

Add helpers for 32-bit accesses and replace open-coded 32-bit access
with calls to helpers. Minimum changes are done to the pci case, as I
don't have access to that hardware.

Tested-by: Thor Thayer <tthayer@altera.com>
Signed-off-by: Thor Thayer <tthayer@altera.com>
Signed-off-by: Pavel Machek <pavel@denx.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/c_can/c_can.c
drivers/net/can/c_can/c_can.h
drivers/net/can/c_can/c_can_pci.c
drivers/net/can/c_can/c_can_platform.c