gianfar_ptp: replace get_of_u32 with of_property_read_u32
authorYangbo Lu <yangbo.lu@nxp.com>
Wed, 24 Feb 2016 09:26:55 +0000 (17:26 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Feb 2016 21:22:02 +0000 (16:22 -0500)
commitc35ec779663b030ad3a03147be23146274026ae3
treeb263d5ebcf92f634e9cb505f969637c388b0319d
parent3db66fdc5fb2a4e11df63286ee7ea3a828725529
gianfar_ptp: replace get_of_u32 with of_property_read_u32

Replace get_of_u32 with standard helper function of_property_read_u32
since the latter can process cpu endianness.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/gianfar_ptp.c