TTY: hvsi: use for_each_compatible_node() macro
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 4 Dec 2012 05:16:18 +0000 (00:16 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jan 2013 07:00:43 +0000 (23:00 -0800)
commit074d35cebe96da07ac07f78118bc6a09e60350b5
treea0852a3801d7b789845d4e2e2720644818f47bca
parent463dcc42e4832150eb3de804682b924f9b73a91a
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/hvc/hvsi.c