stmmac: use of_device_get_match_data to retrieve of match data
authorJoachim Eastwood <manabian@gmail.com>
Thu, 16 Jul 2015 22:26:05 +0000 (00:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jul 2015 03:45:56 +0000 (20:45 -0700)
commit0dacf3f664818ab1e3e0af8ef22a86c89f34d125
treed5d454982ff42bd6fa86e63c365dce83890b9747
parent7781e5d10a457b7e456c8193896c2141cdbf2ad4
stmmac: use of_device_get_match_data to retrieve of match data

By using of_device_get_match_data() the code that retrieve
match data can be simplified quite a bit.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c