can: bfin_can: simplify xmit id1 setup
authorMike Frysinger <vapier@gentoo.org>
Fri, 24 Jun 2011 04:33:01 +0000 (04:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Jun 2011 03:42:24 +0000 (20:42 -0700)
commit9118f08a7794e9a4908afbb0f9bc9455325a5631
treec1294f851b788220d5a829ba8ed8afac1e69a610
parentaca7a3acb19a7a4b1084f6f2411f6eaf52dd79c0
can: bfin_can: simplify xmit id1 setup

If we look closely, the 4 writes to TRANSMIT_CHL.id1 can be collapsed
down into much simpler code.  So do just that.

This also fixes a build failure due to the I/O macros no longer
getting pulled in.  Their minor (and accidental) usage here gets
dropped as part of the unification.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Wolfgang Grandegger <wg@grandegger.com>
Acked-by: Kurt Van Dijck <kurt.van.dijck@eia.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/can/bfin_can.c