2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 07:04:00 +08:00
linux-next/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 irda: replace __FUNCTION__ with __func__ 2008-07-30 17:20:18 -07:00
actisys-sir.c irda: replace __FUNCTION__ with __func__ 2008-07-30 17:20:18 -07:00
ali-ircc.c netdevice: safe convert to netdev_priv() #part-2 2008-11-12 23:38:14 -08:00
ali-ircc.h irda: Remove useless pm_dev references 2008-07-08 03:08:16 -07:00
au1k_ir.c drivers/net: Kill now superfluous ->last_rx stores. 2008-11-03 21:11:17 -08:00
au1000_ircc.h irda: Remove useless pm_dev references 2008-07-08 03:08:16 -07:00
donauboe.c netdevice: safe convert to netdev_priv() #part-2 2008-11-12 23:38:14 -08:00
donauboe.h Fix misspellings collected by members of KJ list. 2007-05-09 07:14:03 +02:00
ep7211-sir.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
esi-sir.c
girbil-sir.c irda: replace __FUNCTION__ with __func__ 2008-07-30 17:20:18 -07:00
irda-usb.c netdevice: safe convert to netdev_priv() #part-2 2008-11-12 23:38:14 -08:00
irda-usb.h irda-usb endianness annotations and fixes 2008-05-21 16:55:59 -07:00
irtty-sir.c irda: replace __FUNCTION__ with __func__ 2008-07-30 17:20:18 -07:00
irtty-sir.h
Kconfig irda: net/irda build fix: mcs7780 2008-06-09 15:47:38 -07:00
kingsun-sir.c drivers/net: Kill now superfluous ->last_rx stores. 2008-11-03 21:11:17 -08:00
ks959-sir.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2008-11-06 22:43:03 -08:00
ksdazzle-sir.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2008-11-06 22:43:03 -08:00
litelink-sir.c irda: replace __FUNCTION__ with __func__ 2008-07-30 17:20:18 -07:00
ma600-sir.c irda: replace __FUNCTION__ with __func__ 2008-07-30 17:20:18 -07:00
Makefile [IrDA]: Irport removal - part 1 2008-01-28 15:08:10 -08:00
mcp2120-sir.c irda: replace __FUNCTION__ with __func__ 2008-07-30 17:20:18 -07:00
mcs7780.c drivers/net: Kill now superfluous ->last_rx stores. 2008-11-03 21:11:17 -08:00
mcs7780.h
nsc-ircc.c netdevice: safe convert to netdev_priv() #part-2 2008-11-12 23:38:14 -08:00
nsc-ircc.h nsc-ircc: default to dongle type 9 on IBM hardware 2008-07-30 17:19:35 -07:00
old_belkin-sir.c irda: replace __FUNCTION__ with __func__ 2008-07-30 17:20:18 -07:00
pxaficp_ir.c drivers/net: Kill now superfluous ->last_rx stores. 2008-11-03 21:11:17 -08:00
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 remove CONFIG_KMOD from drivers 2008-10-17 02:38:35 +11:00
sir-dev.h WorkStruct: make allyesconfig 2006-11-22 14:57:56 +00:00
smsc-ircc2.c irda: replace __FUNCTION__ with __func__ 2008-07-30 17:20:18 -07:00
smsc-ircc2.h irda: remove CVS keywords 2008-06-11 21:00:41 -07:00
smsc-sio.h
stir4200.c drivers/net: Kill now superfluous ->last_rx stores. 2008-11-03 21:11:17 -08:00
tekram-sir.c irda: replace __FUNCTION__ with __func__ 2008-07-30 17:20:18 -07:00
toim3232-sir.c irda: replace __FUNCTION__ with __func__ 2008-07-30 17:20:18 -07:00
via-ircc.c netdevice: safe convert to netdev_priv() #part-2 2008-11-12 23:38:14 -08:00
via-ircc.h irda: Remove useless pm_dev references 2008-07-08 03:08:16 -07:00
vlsi_ir.c netdevice: safe convert to netdev_priv() #part-2 2008-11-12 23:38:14 -08:00
vlsi_ir.h irda: replace __FUNCTION__ with __func__ 2008-07-30 17:20:18 -07:00
w83977af_ir.c netdevice: safe convert to netdev_priv() #part-2 2008-11-12 23:38:14 -08:00
w83977af_ir.h Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
w83977af.h