commit | 16b1adbb16c8a52b206092d875030b346b9ce50b | [log] [tgz] |
---|---|---|
author | Joachim Eastwood <manabian@gmail.com> | Wed Jul 29 00:09:04 2015 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Jul 29 00:13:25 2015 -0700 |
tree | 41999416a8c29e562c3c9716003952cf6f75dca2 | |
parent | 75fee59550a9899fd9438ebc0a64c972829a8dd2 [diff] |
stmmac: dwmac-sti: refactor the init glue callbacks Remove the two platform specific init callbacks and make them use a common one by creating a function member in the internal data structure. This allow us to remove the layer of indirection and simplify the code a bit. Signed-off-by: Joachim Eastwood <manabian@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>