diff options
author | Patrik Dahlström <risca@dalakolonin.se> | 2023-04-08 14:48:19 +0300 |
---|---|---|
committer | Jonathan Cameron <jonathan.cameron@huawei.com> | 2023-04-13 13:37:21 +0300 |
commit | 79d9622d622d49d6c14c51edec2059b8591e7975 (patch) | |
tree | 6fdfd60b5da89aeafa52312132891bf6a2a44e5e /include/linux/mfd | |
parent | 6d52b0e706989d48e1aa3b5263f6185770ab4af3 (diff) | |
download | linux-79d9622d622d49d6c14c51edec2059b8591e7975.tar.xz |
iio: adc: palmas: remove adc_wakeupX_data
It does not seem to be used by anyone and later patches in this series
are made simpler by first removing this. There is now a lot of dead code
that cannot be reached, until later patches revive it. Arguably, this is
preferred over removing the code only to add it again.
Signed-off-by: Patrik Dahlström <risca@dalakolonin.se>
Link: https://lore.kernel.org/r/20230408114825.824505-4-risca@dalakolonin.se
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r-- | include/linux/mfd/palmas.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/mfd/palmas.h b/include/linux/mfd/palmas.h index 117d02708439..eda1ffd99c1a 100644 --- a/include/linux/mfd/palmas.h +++ b/include/linux/mfd/palmas.h @@ -128,12 +128,6 @@ struct palmas_pmic_driver_data { struct regulator_config config); }; -struct palmas_adc_wakeup_property { - int adc_channel_number; - int adc_high_threshold; - int adc_low_threshold; -}; - struct palmas_gpadc_platform_data { /* Channel 3 current source is only enabled during conversion */ int ch3_current; /* 0: off; 1: 10uA; 2: 400uA; 3: 800 uA */ @@ -152,8 +146,6 @@ struct palmas_gpadc_platform_data { int start_polarity; int auto_conversion_period_ms; - struct palmas_adc_wakeup_property *adc_wakeup1_data; - struct palmas_adc_wakeup_property *adc_wakeup2_data; }; struct palmas_reg_init { |