OpenCloudOS-Kernel/drivers/net/can/sja1000
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
..
Kconfig can: sja1000: limit PEAK PCAN-PC Card to HAS_IOPORT 2013-03-27 14:51:49 +01:00
Makefile can: sja1000: add support for PEAK-System PCMCIA card 2012-03-03 17:40:46 +01:00
ems_pci.c can: sja1000: use common prefix for all sja1000 defines 2013-04-16 12:39:14 +02:00
ems_pcmcia.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2013-05-01 14:08:52 -07:00
kvaser_pci.c can: sja1000: use common prefix for all sja1000 defines 2013-04-16 12:39:14 +02:00
peak_pci.c can: sja1000: use common prefix for all sja1000 defines 2013-04-16 12:39:14 +02:00
peak_pcmcia.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2013-05-01 14:08:52 -07:00
plx_pci.c can: sja1000: use common prefix for all sja1000 defines 2013-04-16 12:39:14 +02:00
sja1000.c can: sja1000: use common prefix for all sja1000 defines 2013-04-16 12:39:14 +02:00
sja1000.h can: sja1000: use common prefix for all sja1000 defines 2013-04-16 12:39:14 +02:00
sja1000_isa.c net: can: use platform_{get,set}_drvdata() 2013-06-03 13:13:49 +02:00
sja1000_of_platform.c net: can: use platform_{get,set}_drvdata() 2013-06-03 13:13:49 +02:00
sja1000_platform.c net: can: use platform_{get,set}_drvdata() 2013-06-03 13:13:49 +02:00
tscan1.c can: remove __dev* attributes 2012-12-03 11:16:11 -08:00