summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAnton Staaf <robotboy@chromium.org>2016-01-26 10:38:47 -0800
committerchrome-bot <chrome-bot@chromium.org>2016-01-26 18:54:28 -0800
commit74e81bf9daba09b989a4e9e3153e7db5e6c4e730 (patch)
treeded6384e5c6676822441d01e7c778d412babe233 /include
parente9c8d3850cee6d27d86a231aec75d0f24c09862a (diff)
downloadchrome-ec-74e81bf9daba09b989a4e9e3153e7db5e6c4e730.tar.gz
GPIO: Prefer gpio_set_flags
Convert some uses of gpio_set_flags_by_mask to plain gpio_set_flags. The result is usually more readable due to being able to use the GPIO_* enum names, and it removes more instances of port/mask implementation details leaking outside the gpio.c chip specific code. Signed-off-by: Anton Staaf <robotboy@chromium.org> BRANCH=None BUG=None TEST=make buildall -j Change-Id: I06a7ad8a53e553a8e432a6abb5b38c25a98df6c6 Reviewed-on: https://chromium-review.googlesource.com/323815 Commit-Ready: Anton Staaf <robotboy@chromium.org> Tested-by: Anton Staaf <robotboy@chromium.org> Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions