stmmac: make stmmac_probe_config_dt return the platform data struct
authorJoachim Eastwood <manabian@gmail.com>
Thu, 16 Jul 2015 22:26:08 +0000 (00:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jul 2015 03:45:56 +0000 (20:45 -0700)
commitb0003ead75f394f1c6f3b704be5da8e9eb029f8c
tree46eaff7a61fdec5389b2bda307e1335c60a56226
parentf396cb01210909ab2de0b50b76677892c1bfeb5a
stmmac: make stmmac_probe_config_dt return the platform data struct

Since stmmac_probe_config_dt() allocates the platform data structure
it is cleaner if it just returned this structure directly. This
function will later be used in the probe function in dwmac-* drivers.

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