/* * Copyright (C) STMicroelectronics 2017 * * Author: Fabrice Gasnier <fabrice.gasnier@st.com> * * License terms: GNU General Public License (GPL), version 2 */ #ifndef _STM32_LPTIM_TRIGGER_H_ #define _STM32_LPTIM_TRIGGER_H_ #include <linux/iio/iio.h> #include <linux/iio/trigger.h> #define LPTIM1_OUT "lptim1_out" #define LPTIM2_OUT "lptim2_out" #define LPTIM3_OUT "lptim3_out" #if IS_REACHABLE(CONFIG_IIO_STM32_LPTIMER_TRIGGER) bool is_stm32_lptim_trigger(struct iio_trigger *trig); #else
static inline bool is_stm32_lptim_trigger(struct iio_trigger *trig) { #if IS_ENABLED(CONFIG_IIO_STM32_LPTIMER_TRIGGER) pr_warn_once("stm32 lptim_trigger not linked in\n"); #endif return false; }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Fabrice Gasnier | 15 | 53.57% | 1 | 50.00% |
Arnd Bergmann | 13 | 46.43% | 1 | 50.00% |
Total | 28 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Fabrice Gasnier | 60 | 81.08% | 1 | 50.00% |
Arnd Bergmann | 14 | 18.92% | 1 | 50.00% |
Total | 74 | 100.00% | 2 | 100.00% |