can: mscan: add a comment on reg to idx mapping
authorGerhard Sittig <gsi@denx.de>
Fri, 23 Aug 2013 11:09:02 +0000 (13:09 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 29 Aug 2013 20:49:35 +0000 (22:49 +0200)
commit3a09b12e0c2ef26a0e2230606a6159d3038a1572
treec0382dcf16c39bd5eed4dbe7878afe18373c5eea
parent7ec06da81d2b98859b558d8d551a0c4e3d9516a3
can: mscan: add a comment on reg to idx mapping

add a comment about the magic of deriving an MSCAN component index
from the peripheral's physical address / register offset

Cc: linux-can@vger.kernel.org
Cc: netdev@vger.kernel.org
Signed-off-by: Gerhard Sittig <gsi@denx.de>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/mscan/mpc5xxx_can.c