net: ethernet: xilinx: use of_property_read_bool() instead of of_get_property
authorWang Qing <wangqing@vivo.com>
Wed, 6 Apr 2022 09:17:26 +0000 (02:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Apr 2022 14:18:03 +0000 (15:18 +0100)
commitbe8d9d05271c961dfe366793a3886f4bd6f39dca
tree4f24b0ee4812dfe5aed70e9f345306ef3e3b1c87
parentf90e5a3d5b8c6069505eb216884efd0f08fe4bea
net: ethernet: xilinx: use of_property_read_bool() instead of of_get_property

"little-endian" has no specific content, use more helper function
of_property_read_bool() instead of of_get_property()

Signed-off-by: Wang Qing <wangqing@vivo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/xilinx/ll_temac_main.c