sisfb: use display information in info not in var for panning
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 25 May 2011 09:34:52 +0000 (11:34 +0200)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 19 Aug 2011 08:34:52 +0000 (10:34 +0200)
commit8e42a962a279369ba3e6a25f321c7cd4d471e633
treecd78fe85990ebca768f1235b5633ae3344386cdd
parente1599cf8c7ab93cb4bbd67516f5c989211335df1
sisfb: use display information in info not in var for panning

We must not use any information in the passed var besides xoffset,
yoffset and vmode as otherwise applications might abuse it.

Fix checkpatch.pl warnings in the surrounding code.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/video/sis/sis_main.c