android_kernel_xiaomi_sm8350/drivers/net/irda
Wang Chen 4cf1653aa9 netdevice: safe convert to netdev_priv() #part-2
We have some reasons to kill netdev->priv:
1. netdev->priv is equal to netdev_priv().
2. netdev_priv() wraps the calculation of netdev->priv's offset, obviously
   netdev_priv() is more flexible than netdev->priv.
But we cann't kill netdev->priv, because so many drivers reference to it
directly.

This patch is a safe convert for netdev->priv to netdev_priv(netdev).
Since all of the netdev->priv is only for read.
But it is too big to be sent in one mail.
I split it to 4 parts and make every part smaller than 100,000 bytes,
which is max size allowed by vger.

Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-11-12 23:38:14 -08:00
..
act200l-sir.c
actisys-sir.c
ali-ircc.c netdevice: safe convert to netdev_priv() #part-2 2008-11-12 23:38:14 -08:00
ali-ircc.h
au1k_ir.c
au1000_ircc.h
donauboe.c netdevice: safe convert to netdev_priv() #part-2 2008-11-12 23:38:14 -08:00
donauboe.h
ep7211-sir.c
esi-sir.c
girbil-sir.c
irda-usb.c netdevice: safe convert to netdev_priv() #part-2 2008-11-12 23:38:14 -08:00
irda-usb.h
irtty-sir.c
irtty-sir.h
Kconfig
kingsun-sir.c
ks959-sir.c
ksdazzle-sir.c
litelink-sir.c
ma600-sir.c
Makefile
mcp2120-sir.c
mcs7780.c
mcs7780.h
nsc-ircc.c netdevice: safe convert to netdev_priv() #part-2 2008-11-12 23:38:14 -08:00
nsc-ircc.h
old_belkin-sir.c
pxaficp_ir.c
sa1100_ir.c netdevice: safe convert to netdev_priv() #part-2 2008-11-12 23:38:14 -08:00
sir_dev.c netdevice: safe convert to netdev_priv() #part-2 2008-11-12 23:38:14 -08:00
sir_dongle.c
sir-dev.h
smsc-ircc2.c
smsc-ircc2.h
smsc-sio.h
stir4200.c
tekram-sir.c
toim3232-sir.c
via-ircc.c netdevice: safe convert to netdev_priv() #part-2 2008-11-12 23:38:14 -08:00
via-ircc.h
vlsi_ir.c netdevice: safe convert to netdev_priv() #part-2 2008-11-12 23:38:14 -08:00
vlsi_ir.h
w83977af_ir.c netdevice: safe convert to netdev_priv() #part-2 2008-11-12 23:38:14 -08:00
w83977af_ir.h
w83977af.h