powerpc/windfarm: Use for_each_node_by_type() macro
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Sun, 2 Dec 2012 03:00:09 +0000 (03:00 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 10 Jan 2013 06:00:36 +0000 (17:00 +1100)
commitc7c360eedb8c1eea302a224a8c83d19a4e4cf608
treecb979c49278a8ede23a411be75fd3bd4df7369ab
parente253ebab935693cc2eafbc93e94b68b47dc779db
powerpc/windfarm: Use for_each_node_by_type() macro

Use for_each_node_by_type() macro instead of open coding it.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/macintosh/windfarm_pm112.c
drivers/macintosh/windfarm_pm72.c
drivers/macintosh/windfarm_rm31.c