Skip to content

Commit 380960c

Browse files
bijudasalexandrebelloni
authored andcommitted
rtc: isl1208: Drop name variable
Drop unused name variable from struct isl1208_config. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/20230623140948.384762-7-biju.das.jz@bp.renesas.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
1 parent 138f352 commit 380960c

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

drivers/rtc/rtc-isl1208.c

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,15 +79,14 @@ enum isl1208_id {
7979

8080
/* Chip capabilities table */
8181
static const struct isl1208_config {
82-
const char name[8];
8382
unsigned int nvmem_length;
8483
unsigned has_tamper:1;
8584
unsigned has_timestamp:1;
8685
} isl1208_configs[] = {
87-
[TYPE_ISL1208] = { "isl1208", 2, false, false },
88-
[TYPE_ISL1209] = { "isl1209", 2, true, false },
89-
[TYPE_ISL1218] = { "isl1218", 8, false, false },
90-
[TYPE_ISL1219] = { "isl1219", 2, true, true },
86+
[TYPE_ISL1208] = { 2, false, false },
87+
[TYPE_ISL1209] = { 2, true, false },
88+
[TYPE_ISL1218] = { 8, false, false },
89+
[TYPE_ISL1219] = { 2, true, true },
9190
};
9291

9392
static const struct i2c_device_id isl1208_id[] = {

0 commit comments

Comments
 (0)