device: Remove DEVICE_DT_DECLARE / DEVICE_DT_INST_DECLARE

Now that we generate a header that extern's all possible devicetree
based device struct we can remove DEVICE_DT_DECLARE and
DEVICE_DT_INST_DECLARE as they aren't needed anymore.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2021-01-14 17:07:20 -06:00 committed by Kumar Gala
commit 02703e60d9
55 changed files with 2 additions and 160 deletions

View file

@ -225,7 +225,6 @@ static const struct wdt_driver_api wdt_api = {
};
#define ESP32_WDT_INIT(idx) \
DEVICE_DT_INST_DECLARE(idx); \
static void wdt_esp32_connect_irq_func##idx(void) \
{ \
esp32_rom_intr_matrix_set(0, ETS_TG##idx##_WDT_LEVEL_INTR_SOURCE, \