summaryrefslogtreecommitdiff
path: root/drivers/iio/adc/max11205.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2026-08-21 14:23:06 +0100
committerMark Brown <broonie@kernel.org>2026-08-21 14:23:08 +0100
commit1bb70cd208d68d056aac8dcde8b587e70d33c582 (patch)
tree589879dc2e22e55bbf89485fc4fbea3b35437bb8 /drivers/iio/adc/max11205.c
parent417c5a2b0966fccf49628301d1af61b23e0c390f (diff)
parent8992f32c57607bdfaf5de2a2cd26b3b71f3a9d55 (diff)
downloadlinux-next-1bb70cd208d68d056aac8dcde8b587e70d33c582.tar.gz
linux-next-1bb70cd208d68d056aac8dcde8b587e70d33c582.zip
Merge branch 'char-misc-next' of https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git
Diffstat (limited to 'drivers/iio/adc/max11205.c')
-rw-r--r--drivers/iio/adc/max11205.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/iio/adc/max11205.c b/drivers/iio/adc/max11205.c
index 6c803df220b6..63b6561dcf47 100644
--- a/drivers/iio/adc/max11205.c
+++ b/drivers/iio/adc/max11205.c
@@ -145,8 +145,8 @@ static int max11205_probe(struct spi_device *spi)
}
static const struct spi_device_id max11205_spi_ids[] = {
- { "max11205a", (kernel_ulong_t)&max11205_chip_info[TYPE_MAX11205A] },
- { "max11205b", (kernel_ulong_t)&max11205_chip_info[TYPE_MAX11205B] },
+ { .name = "max11205a", .driver_data = (kernel_ulong_t)&max11205_chip_info[TYPE_MAX11205A] },
+ { .name = "max11205b", .driver_data = (kernel_ulong_t)&max11205_chip_info[TYPE_MAX11205B] },
{ }
};
MODULE_DEVICE_TABLE(spi, max11205_spi_ids);