can: janz-ican3: use dev_get_platdata()
commitc91a319c58e23b0b0a582c2d7824219d1120a92d
authorJingoo Han <jg1.han@samsung.com>
Tue, 10 Sep 2013 08:41:59 +0000 (10 17:41 +0900)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Sat, 21 Sep 2013 13:43:14 +0000 (21 15:43 +0200)
tree6a542f9d7bf185e42680914da2008068bb0b0f18
parent84ae6643d8bd2d6c9a4e313212bfe68e0abcab3f
can: janz-ican3: 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/janz-ican3.c