From 7da45de34c461adaf7b6e7774220279a8f6f12f2 Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Fri, 17 Apr 2020 15:30:20 -0500 Subject: [PATCH] soc: arm: nordic_nrf: remove DT_GPIO_P._DEV_NAME define All users of DT_GPIO_P._DEV_NAME have been converted so we can remove these defines from dts_fixpu.h Signed-off-by: Kumar Gala --- soc/arm/nordic_nrf/nrf51/dts_fixup.h | 2 -- soc/arm/nordic_nrf/nrf52/dts_fixup.h | 3 --- soc/arm/nordic_nrf/nrf53/dts_fixup.h | 3 --- soc/arm/nordic_nrf/nrf91/dts_fixup.h | 2 -- 4 files changed, 10 deletions(-) diff --git a/soc/arm/nordic_nrf/nrf51/dts_fixup.h b/soc/arm/nordic_nrf/nrf51/dts_fixup.h index 7d6013ff17b..9df3bf2b4db 100644 --- a/soc/arm/nordic_nrf/nrf51/dts_fixup.h +++ b/soc/arm/nordic_nrf/nrf51/dts_fixup.h @@ -8,8 +8,6 @@ #define DT_FLASH_DEV_NAME DT_LABEL(DT_INST(0, nordic_nrf51_flash_controller)) -#define DT_GPIO_P0_DEV_NAME DT_NORDIC_NRF_GPIO_GPIO_0_LABEL - #define DT_SPI_0_NAME DT_NORDIC_NRF_SPI_SPI_0_LABEL #define DT_SPI_1_NAME DT_NORDIC_NRF_SPI_SPI_1_LABEL diff --git a/soc/arm/nordic_nrf/nrf52/dts_fixup.h b/soc/arm/nordic_nrf/nrf52/dts_fixup.h index cf6659397d8..ed1f62472e5 100644 --- a/soc/arm/nordic_nrf/nrf52/dts_fixup.h +++ b/soc/arm/nordic_nrf/nrf52/dts_fixup.h @@ -14,9 +14,6 @@ #define DT_FLASH_DEV_NAME DT_LABEL(DT_INST(0, nordic_nrf52_flash_controller)) -#define DT_GPIO_P0_DEV_NAME DT_NORDIC_NRF_GPIO_GPIO_0_LABEL -#define DT_GPIO_P1_DEV_NAME DT_NORDIC_NRF_GPIO_GPIO_1_LABEL - #if defined(DT_NORDIC_NRF_SPIM_SPI_0_LABEL) #define DT_SPI_0_NAME DT_NORDIC_NRF_SPIM_SPI_0_LABEL #else diff --git a/soc/arm/nordic_nrf/nrf53/dts_fixup.h b/soc/arm/nordic_nrf/nrf53/dts_fixup.h index 246b356ffdd..5e8d2e32396 100644 --- a/soc/arm/nordic_nrf/nrf53/dts_fixup.h +++ b/soc/arm/nordic_nrf/nrf53/dts_fixup.h @@ -13,9 +13,6 @@ #define DT_FLASH_DEV_NAME DT_LABEL(DT_INST(0, nordic_nrf53_flash_controller)) -#define DT_GPIO_P0_DEV_NAME DT_NORDIC_NRF_GPIO_GPIO_0_LABEL -#define DT_GPIO_P1_DEV_NAME DT_NORDIC_NRF_GPIO_GPIO_1_LABEL - #define DT_SPI_0_NAME DT_NORDIC_NRF_SPIM_SPI_0_LABEL #define DT_SPI_1_NAME DT_NORDIC_NRF_SPIM_SPI_1_LABEL #define DT_SPI_2_NAME DT_NORDIC_NRF_SPIM_SPI_2_LABEL diff --git a/soc/arm/nordic_nrf/nrf91/dts_fixup.h b/soc/arm/nordic_nrf/nrf91/dts_fixup.h index 2c38ccc7765..9723be15312 100644 --- a/soc/arm/nordic_nrf/nrf91/dts_fixup.h +++ b/soc/arm/nordic_nrf/nrf91/dts_fixup.h @@ -15,8 +15,6 @@ #define DT_FLASH_DEV_NAME DT_LABEL(DT_INST(0, nordic_nrf91_flash_controller)) -#define DT_GPIO_P0_DEV_NAME DT_NORDIC_NRF_GPIO_GPIO_0_LABEL - #define DT_SPI_0_NAME DT_NORDIC_NRF_SPIM_SPI_0_LABEL #define DT_SPI_1_NAME DT_NORDIC_NRF_SPIM_SPI_1_LABEL #define DT_SPI_2_NAME DT_NORDIC_NRF_SPIM_SPI_2_LABEL