w1: ds2433: remove unused definitions
authorMarc Ferland <marc.ferland@sonatest.com>
Mon, 18 Dec 2023 15:02:27 +0000 (10:02 -0500)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 20 Dec 2023 08:25:25 +0000 (09:25 +0100)
Both W1_F23_TIME and W1_PAGE_COUNT are unused, get rid of them.

Signed-off-by: Marc Ferland <marc.ferland@sonatest.com>
Link: https://lore.kernel.org/r/20231218150230.1992448-3-marc.ferland@sonatest.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
drivers/w1/slaves/w1_ds2433.c

index 9f21fd98f7995cdc5af6bbf255d802b0a20fbbb8..cd99eceac1ae513b3c89f987275476d381531fb6 100644 (file)
 #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