can: ti_hecc: use dev_get_platdata()
commitfc218471c69edd43c34d304cd737f0958d8ce195
authorJingoo Han <jg1.han@samsung.com>
Tue, 10 Sep 2013 08:43:12 +0000 (10 17:43 +0900)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Sat, 21 Sep 2013 13:43:15 +0000 (21 15:43 +0200)
tree27cb0c9465b154ca1ef2cfbba22426ba3ee7e9bd
parentc58bd858087960a3d11df884f8f92cc36343c069
can: ti_hecc: use dev_get_platdata()

Use the wrapper function for retrieving the platform data instead of
accessing dev->platform_data directly. This is a cosmetic change
to make the code simpler and enhance the readability.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/ti_hecc.c