can: flexcan: Consolidate and unify state change handling
authorAndri Yngvason <andri.yngvason@marel.com>
Wed, 3 Dec 2014 17:54:15 +0000 (17:54 +0000)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Sun, 7 Dec 2014 20:22:10 +0000 (21:22 +0100)
commit71a3aedce6b37318d0e38676681dff179ec42874
treeec12182e4fae48fa45bd93548f74fdf03055120f
parentb12a43e6dd0f201b81f4c1a9654f30d54c4e6838
can: flexcan: Consolidate and unify state change handling

Replacing error state change handling with the new mechanism.

Signed-off-by: Andri Yngvason <andri.yngvason@marel.com>
Acked-by: Wolfgang Grandegger <wg@grandegger.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/flexcan.c