diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2021-10-15 11:14:44 +0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2021-10-20 19:28:59 +0300 |
commit | 65de5532a317b22f7fb93001cd0ed494145d3f4e (patch) | |
tree | 9f2be31dbcbd5f888a03f92e7c9b1e94bc2b4efa /include/linux/mfd/ti_am335x_tscadc.h | |
parent | 48959fcdca8b335afa4485e71114008c81291bf9 (diff) | |
download | linux-65de5532a317b22f7fb93001cd0ed494145d3f4e.tar.xz |
mfd: ti_am335x_tscadc: Drop unused definitions from the header
The STEP ENABLE definitions are highly unclear and not used so drop them.
Suggested-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20211015081506.933180-27-miquel.raynal@bootlin.com
Diffstat (limited to 'include/linux/mfd/ti_am335x_tscadc.h')
-rw-r--r-- | include/linux/mfd/ti_am335x_tscadc.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/mfd/ti_am335x_tscadc.h b/include/linux/mfd/ti_am335x_tscadc.h index a85643677bef..1cd8cd34f2b7 100644 --- a/include/linux/mfd/ti_am335x_tscadc.h +++ b/include/linux/mfd/ti_am335x_tscadc.h @@ -39,13 +39,6 @@ /* IRQ wakeup enable */ #define IRQWKUP_ENB BIT(0) -/* Step Enable */ -#define STEPENB_MASK (0x1FFFF << 0) -#define STEPENB(val) ((val) << 0) -#define ENB(val) (1 << (val)) -#define STPENB_STEPENB STEPENB(0x1FFFF) -#define STPENB_STEPENB_TC STEPENB(0x1FFF) - /* IRQ enable */ #define IRQENB_HW_PEN BIT(0) #define IRQENB_EOS BIT(1) |