Char: stallion, don't fail with less than max panels
authorJiri Slaby <jirislaby@gmail.com>
Fri, 8 Jun 2007 20:46:52 +0000 (13:46 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sat, 9 Jun 2007 00:23:33 +0000 (17:23 -0700)
commit64834b226b237e654ab164d3af88ceaa65f10362
treee6b1bd9adf5d123d481b11193c22d0fa7c5366c9
parent193faea9280a809cc30e81d7e503e01b1d7b7042
Char: stallion, don't fail with less than max panels

Since it's not neccesary to have MAX_PANELS on the card, don't fail to let
users use this card even in this case.  Stop the testing for loop instead.

Thanks to Ingo.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: "Ingo Korb" <ingo@akana.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/stallion.c