summaryrefslogtreecommitdiff
path: root/drivers/iio/temperature/max31856.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/temperature/max31856.c')
-rw-r--r--drivers/iio/temperature/max31856.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/temperature/max31856.c b/drivers/iio/temperature/max31856.c
index 13405f3ba829..061f6fe6de5e 100644
--- a/drivers/iio/temperature/max31856.c
+++ b/drivers/iio/temperature/max31856.c
@@ -461,7 +461,7 @@ static int max31856_probe(struct spi_device *spi)
}
static const struct spi_device_id max31856_id[] = {
- { "max31856", 0 },
+ { .name = "max31856" },
{ }
};
MODULE_DEVICE_TABLE(spi, max31856_id);