summaryrefslogtreecommitdiffstats
path: root/arch/ia64/dig
diff options
context:
space:
mode:
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>2017-08-05 00:43:43 +0300
committerDavid S. Miller <davem@davemloft.net>2017-08-07 14:07:32 -0700
commitd226a2b84d0528da7e35e7e19e052293889cdd21 (patch)
tree374898a27400270e2174eafaec9b98ac5238b9f8 /arch/ia64/dig
parente1cea2e7396820730ca98d53e986bd5241ef14cc (diff)
downloadop-kernel-dev-d226a2b84d0528da7e35e7e19e052293889cdd21.zip
op-kernel-dev-d226a2b84d0528da7e35e7e19e052293889cdd21.tar.gz
of_mdio: use of_property_read_u32_array()
The "fixed-link" prop support predated of_property_read_u32_array(), so basically had to open-code it. Using the modern API saves 24 bytes of the object code (ARM gcc 4.8.5); the only behavior change would be that the prop length check is now less strict (however the strict pre-check done in of_phy_is_fixed_link() is left intact anyway)... Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/ia64/dig')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud