net: axinet: Use of_property_read_u32 instead of open-coding it
authorTobias Klauser <tklauser@distanz.ch>
Wed, 23 Sep 2015 07:20:55 +0000 (09:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Sep 2015 21:30:00 +0000 (14:30 -0700)
commit729bf329c79684327a55c33cdf21222543a1e5f1
treede873abcbdb752aaef181bb0cb10e35cb82b3476
parente734a42f046104f798195042e5a4d4b357f0b3fb
net: axinet: Use of_property_read_u32 instead of open-coding it

Use of_property_read_u32 instead of of_get_property with return value
checks and endianness conversion.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Reviewed-by: Sören Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/xilinx/xilinx_axienet_mdio.c