linux/drivers/net/can/cc770
Jingoo Han 00e4bbc8cd net: can: use platform_{get,set}_drvdata()
Use the wrapper functions for getting and setting the driver data using
platform_device instead of using dev_{get,set}_drvdata() with &pdev->dev,
so we can directly pass a struct platform_device.

Also, unnecessary dev_set_drvdata() is removed, because the driver core
clears the driver data to NULL after device_release or on probe failure.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2013-06-03 13:13:49 +02:00
..
cc770_isa.c net: can: use platform_{get,set}_drvdata() 2013-06-03 13:13:49 +02:00
cc770_platform.c net: can: use platform_{get,set}_drvdata() 2013-06-03 13:13:49 +02:00
cc770.c can: mark bittiming_const pointer in struct can_priv as const 2012-07-20 12:31:05 +02:00
cc770.h
Kconfig can: Kconfig: convert 'depends on CAN_DEV' into 'if CAN_DEV...endif' block 2013-01-26 16:58:58 +01:00
Makefile