From: Biju Das Date: Fri, 23 Jun 2023 14:09:44 +0000 (+0100) Subject: rtc: isl1208: Drop name variable X-Git-Tag: v6.5-rc1~82^2~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=380960c40a1d106bba3476c9a010eaf28195115d;p=thirdparty%2Fkernel%2Flinux.git rtc: isl1208: Drop name variable Drop unused name variable from struct isl1208_config. Signed-off-by: Biju Das Reviewed-by: Geert Uytterhoeven Link: https://lore.kernel.org/r/20230623140948.384762-7-biju.das.jz@bp.renesas.com Signed-off-by: Alexandre Belloni --- 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[] = {