net: emaclite: Use platform resource table
authorMichal Simek <michal.simek@xilinx.com>
Tue, 4 Jun 2013 00:03:27 +0000 (00:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Jun 2013 00:39:09 +0000 (17:39 -0700)
commit7a3e2585f2fd543ac7284a1f09641628f730f720
tree890c6db4f4ea667ac726c8528f4af995d56740b8
parent15dd16c233b6d5ceea3a00f18d7c42902d0ac6b6
net: emaclite: Use platform resource table

Read data directly from platform recource table
and do not use of_irq_to_resource().
Also use devm_request_and_ioremap() for probe
functions simplification.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/xilinx/xilinx_emaclite.c