]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
can: c_can: Cleanup 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)
commit23ef0a895dd3f115909ca70958aeb3d04f374b0d
tree77a3c2f67512073af9b8f3ce6458e4cca4d0084c
parent7af28630b87d0b2eefeee8547ad52df7e0e1b1c4
can: c_can: Cleanup c_can_write_msg_object()

Remove the MASK from the TX transfer side.

Make the code readable and get rid of the annoying IFX_WRITE_XXX_16BIT
macros which are just obfuscating the code.

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
drivers/net/can/c_can/c_can.h