aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-isl1208.c
diff options
context:
space:
mode:
authorBiju Das <biju.das.jz@bp.renesas.com>2023-06-23 15:09:44 +0100
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2023-06-26 00:58:21 +0200
commit380960c40a1d106bba3476c9a010eaf28195115d (patch)
tree0f964afb13082ebfee00c980d18096f1fb4da835 /drivers/rtc/rtc-isl1208.c
parent138f352556d791d7e0ca3ac9a4f4815123af8c82 (diff)
downloadlinux-380960c40a1d106bba3476c9a010eaf28195115d.tar.gz
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>
Diffstat (limited to 'drivers/rtc/rtc-isl1208.c')
-rw-r--r--drivers/rtc/rtc-isl1208.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/rtc/rtc-isl1208.c b/drivers/rtc/rtc-isl1208.c
index 92a7a1d8d5c3c..6b3ff21084c50 100644
--- a/drivers/rtc/rtc-isl1208.c
+++ b/drivers/rtc/rtc-isl1208.c
@@ -79,15 +79,14 @@ enum isl1208_id {
/* Chip capabilities table */
static const struct isl1208_config {
- const char name[8];
unsigned int nvmem_length;
unsigned has_tamper:1;
unsigned has_timestamp:1;
} isl1208_configs[] = {
- [TYPE_ISL1208] = { "isl1208", 2, false, false },
- [TYPE_ISL1209] = { "isl1209", 2, true, false },
- [TYPE_ISL1218] = { "isl1218", 8, false, false },
- [TYPE_ISL1219] = { "isl1219", 2, true, true },
+ [TYPE_ISL1208] = { 2, false, false },
+ [TYPE_ISL1209] = { 2, true, false },
+ [TYPE_ISL1218] = { 8, false, false },
+ [TYPE_ISL1219] = { 2, true, true },
};
static const struct i2c_device_id isl1208_id[] = {