]> asedeno.scripts.mit.edu Git - linux.git/commit
can: flexcan: flexcan_mailbox_read() make use of flexcan_write64() to mark the mailbo...
authorMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 1 Mar 2019 15:27:59 +0000 (16:27 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 11 Nov 2019 20:58:12 +0000 (21:58 +0100)
commitb9468ad8ff65e6dcfeb69cab15deecafdb883643
tree62b38ff42a747bef946f42803cded4a6182783bf
parentb87c28b726daaa5ac315b59a0ae04282c265580b
can: flexcan: flexcan_mailbox_read() make use of flexcan_write64() to mark the mailbox as read

In the previous patch the function flexcan_write64() was introduced.

This patch replaces the open coded variant in flexcan_mailbox_read()
that marks a mailbox as read, by a single call to flexcan_write64().

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/flexcan.c