Revert "gpio: enable callback to specify pin in addition to pin_mask"

This reverts commit eb6ea28649.

Reverting this to avoid confusion in using the gpio callbacks.

Fixes #11565

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
Daniel Leung 2019-01-29 19:34:42 -08:00 committed by Anas Nashif
commit 5b13310177

View file

@ -83,11 +83,7 @@ struct gpio_callback {
* called or not. The selected pins must be configured to trigger
* an interrupt.
*/
union {
u32_t pin_mask;
/* @todo Remove `pin` when #11565 is resolved */
u32_t pin;
};
};
/**