commit | e56788cf13eef6e998bc03200df9e00f64a3202d | [log] [tgz] |
---|---|---|
author | Joachim Eastwood <manabian@gmail.com> | Wed May 20 20:03:07 2015 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu May 21 18:57:26 2015 -0400 |
tree | 31049d4bc799d28b005beecfe1501e39f95c1fcf | |
parent | 803f8fc46274bbd15757961be44a58ea6f3032d4 [diff] |
stmmac: let stmmac_dvr_probe take a struct of resources Creat a struct that contain all the resources that needs to be assigned to the priv struct in stmmac_dvr_probe. This makes it possible to factor out more common code from the other probe functions and also use this struct to hold the resources as they are fetched. Signed-off-by: Joachim Eastwood <manabian@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>