cleanup: bitmasks should be unsigned values

Change the struct gpio_info to use uint32_t for the mask field,
instead of signed integer.

BUG=none
BRANCH=none
TEST=make buildall

Change-Id: I8cc7e3d06a00bd3c890522a896e36e1eb18a862e
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/251013
Reviewed-by: Sheng-liang Song <ssl@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
This commit is contained in:
Bill Richardson
2015-02-11 16:33:07 -08:00
committed by ChromeOS Commit Bot
parent 62a9075435
commit b4274d04f3

View File

@@ -54,7 +54,7 @@ struct gpio_info {
uint32_t port;
/* Bitmask on that port (1 << N; 0 = signal not implemented) */
int mask;
uint32_t mask;
/* Flags (GPIO_*; see above) */
uint32_t flags;