can: flexcan: use dev_get_platdata()
authorJingoo Han <jg1.han@samsung.com>
Tue, 10 Sep 2013 08:41:30 +0000 (17:41 +0900)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Sat, 21 Sep 2013 13:43:14 +0000 (15:43 +0200)
commit84ae6643d8bd2d6c9a4e313212bfe68e0abcab3f
tree8a1d0af53129f21a6c3965d66b0a272a730ca544
parente19f0305450a05076a236b62c11777c966d580a8
can: flexcan: 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/flexcan.c
This page took 0.024151 seconds and 5 git commands to generate.