diff options
author | Srinivas Kandagatla <srinivas.kandagatla@st.com> | 2012-08-23 21:59:17 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-08-30 12:37:52 -0400 |
commit | e92bdf4bf199f582dae8249a21e991db4bf66480 (patch) | |
tree | 6619f8122ee1204d67ae3148d673647cc7010483 /drivers/net/phy/mdio-mux-mmioreg.c | |
parent | f9dc9ac51610a35629c8211b6b8c9b0c65cf0e1d (diff) |
of/mdio-gpio: Simplify the way device tree support is implemented.
This patch cleans up the way device tree support is added in mdio-gpio
driver. I found lot of code duplication which is not necessary.
Also strangely a new platform driver was also introduced for device tree
support. All this forced me to do this cleanup patch.
After this patch, the driver probe checks the of_node pointer to get the
data from device tree.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/mdio-mux-mmioreg.c')
0 files changed, 0 insertions, 0 deletions