Staging: xgifb: vb_setmode.c: Fix checkpath warnings
authorManoj Sawai <mas@iitkgp.ac.in>
Tue, 28 Feb 2017 12:14:53 +0000 (17:44 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Mar 2017 08:17:08 +0000 (09:17 +0100)
commit22171e328fc629165d0cc48841076cac1972aa42
tree2bc3268c198291328bd903edee3022eb58871b46
parent8b0a4c106743e3a64f5e0a7bf92a815659201236
Staging: xgifb: vb_setmode.c: Fix checkpath warnings

Fix the following checkpatch.pl warnings:

1: Avoid multiple line dereference - prefer
   'XGI330_RefIndex[RefreshRateTableIndex+i].ModeID'

2: Avoid multiple line dereference - prefer
   'XGI330_RefIndex[RefreshRateTableIndex+(*i)].Ext_InfoFlag'

Signed-off-by: Manoj Sawai <mas@iitkgp.ac.in>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xgifb/vb_setmode.c