summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorJoachim Eastwood <manabian@gmail.com>2015-07-17 00:26:06 +0200
committerDavid S. Miller <davem@davemloft.net>2015-07-20 20:45:56 -0700
commit4ed2d8fca7979ad82d56b67ac83a50bba2dd3419 (patch)
tree7666aae5f0fe9c8671897221cfcf4f02b1f17a46 /net
parent0dacf3f664818ab1e3e0af8ef22a86c89f34d125 (diff)
downloadtalos-op-linux-4ed2d8fca7979ad82d56b67ac83a50bba2dd3419.tar.gz
talos-op-linux-4ed2d8fca7979ad82d56b67ac83a50bba2dd3419.zip
stmmac: clean up platform/of_match data retrieval
Refactor code to clearly separate probing non-dt versus dt. In the non-dt case platform data must be supplied to probe successfully. For dt the platform data structure is created and match data is copied into it. Note that support for supplying platform data in dt from AUXDATA is dropped as no users in mainline does this. This change will allow dt dwmac-* drivers to call the config_dt() function from probe to create the needed platform data struct and retrieve common dt properties. Signed-off-by: Joachim Eastwood <manabian@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud