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:
parent
f7a42a70f8
commit
5b13310177
1 changed files with 1 additions and 5 deletions
|
@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue