summaryrefslogtreecommitdiffstats
path: root/Documentation/isdn
diff options
context:
space:
mode:
authorPeter Huewe2013-02-05 00:29:43 +0100
committerGreg Kroah-Hartman2013-02-05 20:16:21 +0100
commit227dc1156c103b7e073ee81e642e15d7927af828 (patch)
tree24b1361337334b051f603679d0da45dc73e0c23f /Documentation/isdn
parentstaging: comedi: ni_daq_700: use comedi_pcmcia_disable() for (*detach) (diff)
downloadkernel-qcow2-linux-227dc1156c103b7e073ee81e642e15d7927af828.tar.gz
kernel-qcow2-linux-227dc1156c103b7e073ee81e642e15d7927af828.tar.xz
kernel-qcow2-linux-227dc1156c103b7e073ee81e642e15d7927af828.zip
staging/xgifb: Replace XGI340_CR6B table with simple if/else
The XGI340_CR6B lookup table consists of the entries {0xaa, 0xaa, 0xaa, 0xaa} for an index <= 2 and {0x00, 0x00, 0x00, 0x00} for all other indices. The only user XGINew_SetDRAMDefaultRegister340 loops over these 4 values of a line with a for loop and since all entries are the same for each line we can simply replace the whole lookup table with a simple if/else assignment. Tested-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Peter Huewe <peterhuewe@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/isdn')
0 files changed, 0 insertions, 0 deletions