GPIO: Remove GPIO_TO_PORT_MASK_PAIR

This macro is no longer used, removing it so that it doesn't get used
as we work towards removing port/mask from the public GPIO API.

Signed-off-by: Anton Staaf <robotboy@chromium.org>

BRANCH=None
BUG=None
TEST=make buildall -j

Change-Id: Ic924cd520689c0805a2784be5005dbecfe89f389
Reviewed-on: https://chromium-review.googlesource.com/323873
Commit-Ready: Anton Staaf <robotboy@chromium.org>
Tested-by: Anton Staaf <robotboy@chromium.org>
Reviewed-by: Shawn N <shawnn@chromium.org>
This commit is contained in:
Anton Staaf
2016-01-26 11:06:06 -08:00
committed by chrome-bot
parent 255a551062
commit 28eb478881

View File

@@ -49,11 +49,6 @@
/* Convert GPIO mask to GPIO number / index. */
#define GPIO_MASK_TO_NUM(mask) (__fls(mask))
/* Convert a GPIO to a port + mask pair */
#define GPIO_TO_PORT_MASK_PAIR(gpio) \
{ gpio_list[(gpio)].port, \
GPIO_MASK_TO_NUM(gpio_list[(gpio)].mask) }
/* NOTE: This is normally included from board.h, thru config.h and common.h But,
* some boards and unit tests don't have a gpio_signal enum defined, so we
* define an emtpy one here.*/