[PATCH 3.6.0-rc3 2/2] of/mdio-gpio: Simplify the way device tree support is implemented.

David Miller davem at davemloft.net
Fri Aug 31 02:38:37 EST 2012


From: Srinivas KANDAGATLA <srinivas.kandagatla at st.com>
Date: Fri, 24 Aug 2012 12:59:17 +0100

> From: Srinivas Kandagatla <srinivas.kandagatla at st.com>
> 
> 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 at st.com>

Applied to net-next.


More information about the devicetree-discuss mailing list