diff options
author | Srinivas Kandagatla <srinivas.kandagatla@st.com> | 2012-08-24 03:59:17 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-08-30 18:37:52 +0200 |
commit | e92bdf4bf199f582dae8249a21e991db4bf66480 (patch) | |
tree | 6619f8122ee1204d67ae3148d673647cc7010483 /drivers/media | |
parent | of/mdio: Add dummy functions in of_mdio.h. (diff) | |
download | linux-e92bdf4bf199f582dae8249a21e991db4bf66480.tar.xz linux-e92bdf4bf199f582dae8249a21e991db4bf66480.zip |
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/media')
0 files changed, 0 insertions, 0 deletions