diff options
author | Jean Delvare <jdelvare@suse.de> | 2016-01-05 16:23:47 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-01-05 17:46:34 +0300 |
commit | 166814d8413df49bf21293aacc808b2782cbd9a8 (patch) | |
tree | 5eb75448791b058dbd5e3b8d01511fa76b4bf56a /drivers/video | |
parent | 446f59acb70b70a425ea4105277a71eb615327cd (diff) | |
download | linux-166814d8413df49bf21293aacc808b2782cbd9a8.tar.xz |
gpio: pch: Optimize pch_gpio_get()
The double negation is costly and can be avoided by shifting the
register value before masking the requested bit.
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/video')
0 files changed, 0 insertions, 0 deletions