Skip to content

Commit 65de553

Browse files
miquelraynalLee Jones
authored andcommitted
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
1 parent 48959fc commit 65de553

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

‎include/linux/mfd/ti_am335x_tscadc.h‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,6 @@
3939
/* IRQ wakeup enable */
4040
#define IRQWKUP_ENB BIT(0)
4141

42-
/* Step Enable */
43-
#define STEPENB_MASK (0x1FFFF << 0)
44-
#define STEPENB(val) ((val) << 0)
45-
#define ENB(val) (1 << (val))
46-
#define STPENB_STEPENB STEPENB(0x1FFFF)
47-
#define STPENB_STEPENB_TC STEPENB(0x1FFF)
48-
4942
/* IRQ enable */
5043
#define IRQENB_HW_PEN BIT(0)
5144
#define IRQENB_EOS BIT(1)

0 commit comments

Comments
 (0)