gianfar: Consider dts property endianess on handling
authorJingchang Lu <jingchang.lu@freescale.com>
Fri, 13 Mar 2015 08:52:32 +0000 (10:52 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 15 Mar 2015 23:56:47 +0000 (19:56 -0400)
commit559176415cc663fff9dd99a3862629a4fcdb36ab
tree4cb91e90fa4980a4e2853e5cb113402c96380f52
parent26eb9374f83d129f26a417fc3cc9b480fb47e5e4
gianfar: Consider dts property endianess on handling

Use of_property_read*() to get arch endian consistent
property values. Do some refactoring in the process.

Signed-off-by: Jingchang Lu <jingchang.lu@freescale.com>
Signed-off-by: Claudiu Manoil <claudiu.manoil@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/gianfar.c