can: ti_hecc: remove priv->can.do_get_state() callback
authorMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 4 Oct 2013 11:18:01 +0000 (13:18 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 31 Oct 2013 19:55:16 +0000 (20:55 +0100)
commit26896fd98130cdda73b19c75849a0d25cb850cb8
treedd1cca0657f1b85fd88c0dc7a5db31a91e869224
parent49cb5c0e0cb26e9f39445d8b5aa5c50ba9451cdd
can: ti_hecc: remove priv->can.do_get_state() callback

This patch removes the priv->can.do_get_state() callback, as it just returns
priv->can.state. The callback's only user can_fill_info() has direct access to
priv->can.state.

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