can: c_can: Use proper u32 variables in c_can_write_msg_object()
authorThomas Gleixner <tglx@linutronix.de>
Fri, 11 Apr 2014 08:13:21 +0000 (08:13 +0000)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 24 Apr 2014 20:09:01 +0000 (22:09 +0200)
commitd48071be6cb94912cf3c3ac0b4d520438fab4778
treefb45ee82298a136ffed5b1f108095084bdb2c327
parent23ef0a895dd3f115909ca70958aeb3d04f374b0d
can: c_can: Use proper u32 variables in c_can_write_msg_object()

Instead of obfuscating the code by artificial 16 bit splits use the
proper 32 bit assignments and split the result when writing to the
interface.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Alexander Stein <alexander.stein@systec-electronic.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/c_can/c_can.c