tty/hvsi: Use for_each_compatible_node() macro
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 3 Dec 2012 19:16:18 +0000 (19:16 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 10 Jan 2013 06:00:45 +0000 (17:00 +1100)
commit7943b310001fd7858154bc3af2a78e0dd6bfea03
treef7c37025993a625213c08a89621cf7152bcb94b2
parenta413f474a0ff29404bf1af5c024215476ed6ca01
tty/hvsi: Use for_each_compatible_node() macro

Use for_each_compatible_node() macro instead of open coding it.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/tty/hvc/hvsi.c