aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Ferland <[email protected]>2023-12-18 10:02:27 -0500
committerKrzysztof Kozlowski <[email protected]>2023-12-20 09:25:25 +0100
commit86626c06d651c72bc10c25f263e98fa90655b5ae (patch)
treed46f40afac1d527db5682bbba138afce1ccf70a3
parentd605ba72e9c04efc35fcf225df59d4ccb1d4061f (diff)
w1: ds2433: remove unused definitions
Both W1_F23_TIME and W1_PAGE_COUNT are unused, get rid of them. Signed-off-by: Marc Ferland <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]>
-rw-r--r--drivers/w1/slaves/w1_ds2433.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/w1/slaves/w1_ds2433.c b/drivers/w1/slaves/w1_ds2433.c
index 9f21fd98f799..cd99eceac1ae 100644
--- a/drivers/w1/slaves/w1_ds2433.c
+++ b/drivers/w1/slaves/w1_ds2433.c
@@ -25,13 +25,10 @@
#define W1_EEPROM_DS2433 0x23
#define W1_EEPROM_SIZE 512
-#define W1_PAGE_COUNT 16
#define W1_PAGE_SIZE 32
#define W1_PAGE_BITS 5
#define W1_PAGE_MASK 0x1F
-#define W1_F23_TIME 300
-
#define W1_F23_READ_EEPROM 0xF0
#define W1_F23_WRITE_SCRATCH 0x0F
#define W1_F23_READ_SCRATCH 0xAA