OpenCloudOS-Kernel/drivers/net/can/cc770
Jingoo Han e19f030545 can: cc770: 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>
2013-09-21 15:43:13 +02:00
..
Kconfig can: Kconfig: convert 'depends on CAN_DEV' into 'if CAN_DEV...endif' block 2013-01-26 16:58:58 +01:00
Makefile can: cc770: add platform bus driver for the CC770 and AN82527 2011-12-01 13:09:31 -05:00
cc770.c can: mark bittiming_const pointer in struct can_priv as const 2012-07-20 12:31:05 +02:00
cc770.h can: cc770: add driver core for the Bosch CC770 and Intel AN82527 2011-12-01 13:09:31 -05:00
cc770_isa.c net: can: use platform_{get,set}_drvdata() 2013-06-03 13:13:49 +02:00
cc770_platform.c can: cc770: use dev_get_platdata() 2013-09-21 15:43:13 +02:00