Skip to content

Commit 0ef8a4f

Browse files
johnlange2jtbaumann
authored andcommitted
boards: arm: Fix build warning with unused param (#171)
This fixes a build warning associated with an unused parameter Signed-off-by: John Lange <John.Lange2@T-Mobile.com>
1 parent 25e1ede commit 0ef8a4f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

boards/arm/tmo_dev_edge/board.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,12 @@ static void powerup_led_on(struct k_timer *timer_id);
5050

5151
K_TIMER_DEFINE(powerup_led_timer, powerup_led_on, NULL);
5252

53-
static int tmo_dev_edge(const struct device *dev)
53+
static int tmo_dev_edge(void)
5454
{
5555
const struct device *rs_dev; /* RS9116 Gpio Device */
5656
const struct device *bz_dev; /* PAM8904E Gpio Device */
5757
const struct device *gpiof;
5858

59-
ARG_UNUSED(dev);
60-
6159
rs_dev = device_get_binding(RS9116_GPIO_NAME);
6260

6361
if (!rs_dev) {

0 commit comments

Comments
 (0)