]> git.baikalelectronics.ru Git - kernel.git/commit
stmmac: introduce stmmac_get_platform_resources()
authorJoachim Eastwood <manabian@gmail.com>
Thu, 16 Jul 2015 22:26:07 +0000 (00:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jul 2015 03:45:56 +0000 (20:45 -0700)
commitb747a2f5667ea3cf7ffa97eb169236c3813738ad
tree9065937657c43af0d4fd7aec5403375e49ee77b4
parent174f8f3c0ebef5d5bb2d480906544c46eb35a446
stmmac: introduce stmmac_get_platform_resources()

Refactor all code that deals with platform resources into it's
own get function. 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