can: sja1000: use dev_get_platdata()
authorJingoo Han <jg1.han@samsung.com>
Tue, 10 Sep 2013 08:42:35 +0000 (17:42 +0900)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Sat, 21 Sep 2013 13:43:14 +0000 (15:43 +0200)
commitecd78d97532bcc8422ed6900c9a3f19537ce860f
tree8088ac366f777c5b1048e27e713ecafce302939d
parent369566ef13c70ba368e370cf3df42df7ebc51e66
can: sja1000: 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/sja1000/sja1000_platform.c