can: at91_can: clean up usage of AT91_MB_RX_FIRST and AT91_MB_RX_NUM
authorMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 6 Jan 2011 08:58:42 +0000 (09:58 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 24 Jan 2011 12:22:02 +0000 (13:22 +0100)
This patch cleans up the usage of two macros which specify the mailbox
usage. AT91_MB_RX_FIRST and AT91_MB_RX_NUM define the first and the
number of RX mailboxes. The current driver uses these variables in an
unclean way; assuming that AT91_MB_RX_FIRST is 0;

This patch cleans up the usage of these macros, no longer assuming
AT91_MB_RX_FIRST == 0.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Acked-by: Wolfgang Grandegger <wg@grandegger.com>

No differences found