]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitff25f97404c833189cac861b48e822ec4fd89caa
treeb263d5ebcf92f634e9cb505f969637c388b0319d
parent8658ddaf96bffce70ec7fa5265420b389e7b1770
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