summaryrefslogtreecommitdiff
path: root/drivers/iio/temperature/ltc2983.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/temperature/ltc2983.c')
-rw-r--r--drivers/iio/temperature/ltc2983.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/iio/temperature/ltc2983.c b/drivers/iio/temperature/ltc2983.c
index f8c4917bb118..a9d38ed45da6 100644
--- a/drivers/iio/temperature/ltc2983.c
+++ b/drivers/iio/temperature/ltc2983.c
@@ -2070,11 +2070,11 @@ static const struct ltc2983_chip_info ltm2985_chip_info_data = {
};
static const struct spi_device_id ltc2983_id_table[] = {
- { "adt7604", (kernel_ulong_t)&adt7604_chip_info_data },
- { "ltc2983", (kernel_ulong_t)&ltc2983_chip_info_data },
- { "ltc2984", (kernel_ulong_t)&ltc2984_chip_info_data },
- { "ltc2986", (kernel_ulong_t)&ltc2986_chip_info_data },
- { "ltm2985", (kernel_ulong_t)&ltm2985_chip_info_data },
+ { .name = "adt7604", .driver_data = (kernel_ulong_t)&adt7604_chip_info_data },
+ { .name = "ltc2983", .driver_data = (kernel_ulong_t)&ltc2983_chip_info_data },
+ { .name = "ltc2984", .driver_data = (kernel_ulong_t)&ltc2984_chip_info_data },
+ { .name = "ltc2986", .driver_data = (kernel_ulong_t)&ltc2986_chip_info_data },
+ { .name = "ltm2985", .driver_data = (kernel_ulong_t)&ltm2985_chip_info_data },
{ }
};
MODULE_DEVICE_TABLE(spi, ltc2983_id_table);