android_kernel_xiaomi_sm8350/drivers/net/can
Grant Likely 2dc1158137 of/device: Replace struct of_device with struct platform_device
of_device is just an alias for platform_device, so remove it entirely.  Also
replace to_of_device() with to_platform_device() and update comment blocks.

This patch was initially generated from the following semantic patch, and then
edited by hand to pick up the bits that coccinelle didn't catch.

@@
@@
-struct of_device
+struct platform_device

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Reviewed-by: David S. Miller <davem@davemloft.net>
2010-08-06 09:25:50 -06:00
..
mscan of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
sja1000 of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
usb can: Add driver for esd CAN-USB/2 device 2010-08-03 16:37:58 -07:00
at91_can.c net: trans_start cleanups 2010-05-10 05:01:31 -07:00
bfin_can.c net: trans_start cleanups 2010-05-10 05:01:31 -07:00
dev.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
flexcan.c CAN: Add Flexcan CAN controller driver 2010-07-22 18:06:25 +02:00
janz-ican3.c can: Add support for Janz VMOD-ICAN3 Intelligent CAN module 2010-05-28 01:37:33 +02:00
Kconfig CAN: Add Flexcan CAN controller driver 2010-07-22 18:06:25 +02:00
Makefile CAN: Add Flexcan CAN controller driver 2010-07-22 18:06:25 +02:00
mcp251x.c net: trans_start cleanups 2010-05-10 05:01:31 -07:00
ti_hecc.c Fix some #includes in CAN drivers (rebased for net-next-2.6) 2010-04-13 03:32:42 -07:00
vcan.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00