summaryrefslogtreecommitdiff
path: root/drivers/hwmon/gpio-fan.c
diff options
context:
space:
mode:
authorPeter Huewe <peterhuewe@gmx.de>2013-02-15 19:37:13 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-02-15 23:12:40 (GMT)
commit771f3eed631be02b08544fc46cdfd2558599cf5d (patch)
tree0f9b9e811176832bebc2a8a0f7692e0d0b0ff38a /drivers/hwmon/gpio-fan.c
parent053004b375ca8f684f778d354eeeaf4e8b17c1f0 (diff)
downloadlinux-771f3eed631be02b08544fc46cdfd2558599cf5d.tar.xz
staging/xgifb: Remove duplicated code in loops.
Instead of calling the same function three times in a loop, multiply the loop counter by three. And since the value in DAC_TEST_PARMS is always the same we can use the value directly. Signed-off-by: Peter Huewe <peterhuewe@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwmon/gpio-fan.c')
0 files changed, 0 insertions, 0 deletions