staging: xgifb: fix multiple line dereference
authorAastha Gupta <aastha.gupta4104@gmail.com>
Thu, 14 Sep 2017 12:08:50 +0000 (17:38 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Sep 2017 10:00:07 +0000 (12:00 +0200)
commitbb879fa3e33cc205220016b95b81214875e7aecb
tree8396db3e55b46f7891ccac1a9c596ae03c90ec7a
parentaabdabad35d3c01f977084221afe09cab5dfa8af
staging: xgifb: fix multiple line dereference

This patch fixes the checkpatch.pl warning:

WARNING: Avoid multiple line dereference - prefer'XGI330_EModeIDTable[ModeIdIndex].Ext_ModeFlag'

Signed-off-by: Aastha Gupta <aastha.gupta4104@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xgifb/vb_setmode.c