Re: [PATCH v6 6/7] can: kvaser_usb: Consolidate and unify state change handling

2015-01-26 Thread Andri Yngvason
Quoting Ahmed S. Darwish (2015-01-26 05:29:15) > From: Ahmed S. Darwish > > Replace most of the can interface's state and error counters > handling with the new can-dev can_change_state() mechanism. > > Suggested-by: Andri Yngvason > Signed-off-by: Ahmed S. Darwish > --- > drivers/net/can/usb

[PATCH v6 6/7] can: kvaser_usb: Consolidate and unify state change handling

2015-01-25 Thread Ahmed S. Darwish
From: Ahmed S. Darwish Replace most of the can interface's state and error counters handling with the new can-dev can_change_state() mechanism. Suggested-by: Andri Yngvason Signed-off-by: Ahmed S. Darwish --- drivers/net/can/usb/kvaser_usb.c | 113 - 1 fil