tty: use for_each_console() and WARN() on sysfs failures
authorKay Sievers <kay.sievers@vrfy.org>
Sun, 9 Jan 2011 15:39:14 +0000 (16:39 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 23 Jan 2011 03:15:00 +0000 (19:15 -0800)
This fixes the build warnings in the tty code, and uses the proper
function for iterating over the console devices.

Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found