From: Marc Kleine-Budde Date: Thu, 6 Jan 2011 08:58:42 +0000 (+0100) Subject: can: at91_can: clean up usage of AT91_MB_RX_FIRST and AT91_MB_RX_NUM X-Git-Tag: v2.6.38-rc3~29^2~15^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0909c1ec6f016b3f580fa2f4630659a5874a8ef8;p=pandora-kernel.git can: at91_can: clean up usage of AT91_MB_RX_FIRST and AT91_MB_RX_NUM 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 Acked-by: Wolfgang Grandegger --- Reading git-diff-tree failed