From 74bba2a1832318a0a3730ab24c2474b20c9f8b16 Mon Sep 17 00:00:00 2001 From: Hauke Petersen <hauke.petersen@fu-berlin.de> Date: Thu, 15 Dec 2016 11:59:22 +0100 Subject: [PATCH] cpu/saml21: removed unused saml21_periph.h --- cpu/saml21/include/saml21_periph.h | 34 ------------------------------ cpu/saml21/periph/gpio.c | 7 +----- cpu/saml21/periph/spi.c | 6 ++---- 3 files changed, 3 insertions(+), 44 deletions(-) delete mode 100644 cpu/saml21/include/saml21_periph.h diff --git a/cpu/saml21/include/saml21_periph.h b/cpu/saml21/include/saml21_periph.h deleted file mode 100644 index fae207f99b..0000000000 --- a/cpu/saml21/include/saml21_periph.h +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (C) 2015 Kaspar Schleiser <kaspar@schleiser.de> - * 2015 FreshTemp, LLC. - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @ingroup cpu_saml21 - * @{ - * - * @file - * @brief SAML21 IO helper stuff - * - * @author Kaspar Schleiser <kaspar@schleiser.de> - */ -#ifndef SAML21_PERIPH_H -#define SAML21_PERIPH_H - -#ifdef __cplusplus -extern "C" { -#endif - -#include <stdint.h> -#include "cpu_conf.h" -#include "panic.h" - -#ifdef __cplusplus -} -#endif -/** @} */ -#endif /* SAML21_PERIPH_H */ diff --git a/cpu/saml21/periph/gpio.c b/cpu/saml21/periph/gpio.c index 29d10bf826..5f24845432 100644 --- a/cpu/saml21/periph/gpio.c +++ b/cpu/saml21/periph/gpio.c @@ -24,14 +24,9 @@ */ #include "cpu.h" -#include "periph/gpio.h" - -#include "periph_conf.h" -#include "saml21_periph.h" - #include "sched.h" #include "thread.h" -#include "panic.h" +#include "periph/gpio.h" #define ENABLE_DEBUG (0) #include "debug.h" diff --git a/cpu/saml21/periph/spi.c b/cpu/saml21/periph/spi.c index 617024308a..56ed843df8 100644 --- a/cpu/saml21/periph/spi.c +++ b/cpu/saml21/periph/spi.c @@ -28,13 +28,11 @@ #include "mutex.h" #include "periph/gpio.h" #include "periph/spi.h" -#include "periph_conf.h" -#include "board.h" + #define ENABLE_DEBUG (0) #include "debug.h" -#if SPI_0_EN || SPI_1_EN -#include "saml21_periph.h" +#if SPI_0_EN || SPI_1_EN /** * @brief Array holding one pre-initialized mutex for each SPI device -- GitLab