From: Srinivas Kandagatla Date: Fri, 24 Aug 2012 01:59:17 +0000 (+0000) Subject: of/mdio-gpio: Simplify the way device tree support is implemented. X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~47^2~272 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e92bdf4bf199f582dae8249a21e991db4bf66480;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed