Skip to content

Commit

Permalink
tests: drivers: gpio: egpio_basic_api: Remove redundant code
Browse files Browse the repository at this point in the history
Header file contains definitions that are no longer required.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
  • Loading branch information
nordic-segl committed Nov 15, 2024
1 parent 7c87bbb commit f75270a
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions tests/drivers/gpio/egpio_basic_api/src/test_egpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

#include <zephyr/kernel.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/sys/util.h>
#include <zephyr/ztest.h>

#if DT_NODE_HAS_STATUS(DT_INST(0, test_egpio), okay)
Expand All @@ -20,7 +19,6 @@
*/
#define DEV_OUT DT_GPIO_CTLR(DT_INST(0, test_egpio), out_gpios)
#define DEV_IN DT_GPIO_CTLR(DT_INST(0, test_egpio), in_gpios)
#define DEV DEV_OUT
#define PIN_OUT DT_GPIO_PIN(DT_INST(0, test_egpio), out_gpios)
#define PIN_OUT_FLAGS DT_GPIO_FLAGS(DT_INST(0, test_egpio), out_gpios)
#define PIN_IN DT_GPIO_PIN(DT_INST(0, test_egpio), in_gpios)
Expand All @@ -35,22 +33,4 @@
#define PIN_IN 14
#endif

#define MAX_INT_CNT 3
struct drv_data {
struct gpio_callback gpio_cb;
gpio_flags_t mode;
int index;
int aux;
};

void test_egpio_pin_read_write(void);
void test_egpio_callback_add_remove(void);
void test_egpio_callback_self_remove(void);
void test_egpio_callback_enable_disable(void);
void test_egpio_callback_variants(void);

void test_egpio_port(void);

void test_egpio_deprecated(void);

#endif /* __TEST_EGPIO_H__ */

0 comments on commit f75270a

Please sign in to comment.