Skip to content
Permalink
Browse files

drivers: ieee802154_nrf5: Rename nrf5_config to nrf5_irq_config

`nrf5_irq_config` better describes purpose of this function.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
  • Loading branch information...
rlubos authored and nashif committed Apr 25, 2019
1 parent 15c2296 commit 93a77c0fa63995e1c4be550c9e0eca1f641d8408
Showing with 2 additions and 2 deletions.
  1. +2 −2 drivers/ieee802154/ieee802154_nrf5.c
@@ -340,7 +340,7 @@ static void nrf5_radio_irq(void *arg)
nrf_802154_radio_irq_handler();
}

static void nrf5_config(struct device *dev)
static void nrf5_irq_config(struct device *dev)
{
ARG_UNUSED(dev);

@@ -454,7 +454,7 @@ void nrf_802154_cca_failed(nrf_802154_cca_error_t error)
}

static const struct nrf5_802154_config nrf5_radio_cfg = {
.irq_config_func = nrf5_config,
.irq_config_func = nrf5_irq_config,
};

static struct ieee802154_radio_api nrf5_radio_api = {

0 comments on commit 93a77c0

Please sign in to comment.
You can’t perform that action at this time.