net: stmmac: dwc-qos: Split out ->probe() and ->remove()
authorThierry Reding <treding@nvidia.com>
Fri, 10 Mar 2017 16:35:00 +0000 (17:35 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Mar 2017 06:35:20 +0000 (23:35 -0700)
commitcee45b2edafaa1063bd3a43ba3577490a26fed4c
treedb9c53ebdb31bd24fdf65329f19b919d961cd53b
parent356b7557857e43c52561ac722168ea173f5f6ddc
net: stmmac: dwc-qos: Split out ->probe() and ->remove()

Split out the binding specific parts of ->probe() and ->remove() to
enable the driver to support variants of the binding. This is useful in
order to keep backwards-compatibility while making it easy for a sub-
driver to deal only with the updated bindings rather than having to add
compatibility quirks all over the place.

Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
Reviewed-By: Joao Pinto <jpinto@synopsys.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c