net/fec: put the ioremap cookie immediately into a void __iomem pointer
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 13 Jan 2011 21:29:05 +0000 (22:29 +0100)
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 15 Feb 2011 08:26:29 +0000 (09:26 +0100)
commit24e531b401752995493fa36ee8d8f10c45038e75
tree999a60a27a723676fac84880fe8d117799512521
parent8b06dc2b1cdc33f6426bc4b0d58b357146d739f9
net/fec: put the ioremap cookie immediately into a void __iomem pointer

Saving it first into struct net_device->base_addr (which is an unsigned
long) is pointless and only needs to use more casts than necessary.

Reported-by: Lothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
drivers/net/fec.c